q2a-projects / Q2A-User-Manager

User Manager for Question2Answer
MIT License
14 stars 6 forks source link

Compatibility with PHP 7.2+: qa_layer_10_from_layer_php has a deprecated constructor #3

Open Anton-V-K opened 4 years ago

Anton-V-K commented 4 years ago

When the plugin works at PHP 7.2+ server it causes a notice-like message:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; qa_layer_10_from_layer_php has a deprecated constructor in /home/anton800/ask.myfinances.biz/qa-include/qa-base.php(720) : eval()'d code on line 3 of /home/anton800/ask.myfinances.biz/qa-plugin/user-management/layer.php

Probably it will fail to load in further versions of PHP without fixing.

never-failing commented 1 year ago

On php 7.4 is also a bug. The author could you make a fix?