Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebERP Not working properly after my server migrated from PHP 5.6.x to PHP 7.0.x
12-22-2018, 09:33 PM,
#1
WebERP Not working properly after my server migrated from PHP 5.6.x to PHP 7.0.x
I have WebERP 4.12.3 version installed and it was working fine till recently.
After my web-hosting service provider's server recently upgraded to newer version of PHP (Migrated from PHP 5.6.x to PHP 7.0.x ) I have been receiving error messages as below :

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; PurchOrder has a deprecated constructor in /home4/xxx/includes/DefinePOClass.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; LineDetails has a deprecated constructor in /home4/xxx/includes/DefinePOClass.php on line 207

Apart from this, I am not able to generate PDF files of Purchase Orders etc. and I get an error

Warning: Cannot modify header information - headers already sent by (output started at /home4/xxx/includes/DefinePOClass.php:7) in /home4/xxx/includes/tcpdf/tcpdf.php on line 7693
TCPDF ERROR: Some data has already been output to browser, can't send PDF file

Please help me out.
Reply
12-22-2018, 09:46 PM,
#2
RE: WebERP Not working properly after my server migrated from PHP 5.6.x to PHP 7.0.x
You need to upgrade to a newer version. Current versions are PHP7 compatible.
Reply
12-24-2018, 02:18 PM,
#3
RE: WebERP Not working properly after my server migrated from PHP 5.6.x to PHP 7.0.x
Thankyou Falkoner,
Upgraded. Now its working fine. Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)