How To / General

Errors using PHP 7

  • Eric vanBok
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 8 months ago #1 by Eric vanBok
Errors using PHP 7 was created by Eric vanBok
Joomla: 3.6.0
Joomdle: 1.0.6
Moodle: 3.1

I have a new website I am building and decided to test the website with PHP 7. It actually is working quite well accept for a couple errors I am seeing. I am using the HikaShop integration, and when I view a product I see the following errors:
Code:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgUserJoomdleusercheck has a deprecated constructor in /home/xxxx/public_html/xxxx/plugins/user/joomdleusercheck/joomdleusercheck.php on line 14 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgUserJoomdlehooks has a deprecated constructor in /home/xxxx/public_html/xxxx/plugins/user/joomdlehooks/joomdlehooks.php on line 14

The errors go aware when I switch back to PHP 5.6. Just wanted you to know so that you can continue to make Joomdle fully PHP 7 compatible.

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Errors using PHP 7
Thanks for the info. We'll release new versions as soon as possible.

In the meantime, you can disable showing deprecated errors, so you can work with PHP 7 and not see the errors.

Please Log in or Create an account to join the conversation.