Hi everyone, we recently upgraded to PHP 7.0 (which vB seems to still support), and now the server is throwing these errors relative to AME:
Code:
[05-Apr-2020 14:24:28 Europe/Rome] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AME_editor_prep has a deprecated constructor in /home/pst/public_html/forum/includes/ame_prep.php on line 321
[05-Apr-2020 14:24:28 Europe/Rome] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AME_message_prep has a deprecated constructor in /home/pst/public_html/forum/includes/ame_prep.php on line 408
[05-Apr-2020 14:25:19 Europe/Rome] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AME_prep_base has a deprecated constructor in /home/pst/public_html/forum/includes/ame_prep.php on line 86
EDIT: I have renamed the constructs to __construct, hopefully this will fix the issue
Does anyone have any advise on what the issue with the class declaration is and how to fix this?