PDA

View Full Version : xajax ereur in PHP 7



nirvano
May 30, 2017, 01:39 PM
Hello

i use php7 in my hosting , i have problem to xajax .....

i have this message in the header page of the plugin Im/Ex Category


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; rlImportExportCategories has a deprecated constructor in /home/user/public_html/plugins/importExportCategories/rlImportExportCategories.class.php on line 23
Output has already been sent to the browser at /home/user/public_html/plugins/importExportCategories/rlImportExportCategories.class.php:23. Please make sure the command $xajax->processRequest() is placed before this.


______________


And this message in this page Or I use Newsletter (https://goo.gl/4ypYnC)


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; rlFAQs has a deprecated constructor in /home/user/public_html/plugins/FAQs/rlFAQs.class.php on line 23

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; rlMassmailerNewsletter has a deprecated constructor in /home/user/public_html/plugins/massmailer_newsletter/rlMassmailerNewsletter.class.php on line 23
Output has already been sent to the browser at /home/user/public_html/plugins/FAQs/rlFAQs.class.php:23. Please make sure the command $xajax->processRequest() is placed before this.




think you

Curtis
May 31, 2017, 04:36 AM
Hello,

The problem related with names of constructor, it must have value "__construct" only.
Check my screens below:

http://forum.flynax.com/attachment.php?attachmentid=2412&stc=1http://forum.flynax.com/attachment.php?attachmentid=2413&stc=1

nirvano
June 3, 2017, 06:17 PM
thank you Curtis (http://forum.flynax.com/member.php?633-Curtis)