PHP 7.2 compatibili...
 
Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

PHP 7.2 compatibility

5 Posts
3 Users
0 Reactions
2,961 Views
(@christophhering)
New Member
Joined: 7 years ago
Posts: 3
Topic starter  

When checking with PHP Compatibility Checker for PHP 7.2 I get the following warning: Function name "_construct" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.

PHP 7.2

Does this needs fixing or can I ignore it? Thanks for help. C

 



   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6581
 

Hi christophhering,

Have you done any customization?

Please check is there  2 underlines in   __construct() function line 9 (/wp-content/plugins/wpforo/wpf-includes/class-phrases.php file) ? 

underline


   
ReplyQuote
(@christophhering)
New Member
Joined: 7 years ago
Posts: 3
Topic starter  

No, I have not done any customization.



   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 11 years ago
Posts: 4234
 
Posted by: christophhering

No, I have not done any customization.

Hi @christophhering,

Please ignore this, this is the problem of tool you use to check it. This tool has a bug here, it doesn't recognize that the __constructor() is the same reserved function. Please contact that tool support and they'll verify this bug. Don't forget to show the screenshot provided by Astghik above, it shows that the code is correct and the problem checker tool is incorrect.



   
ReplyQuote
(@christophhering)
New Member
Joined: 7 years ago
Posts: 3
Topic starter  

Thanks for that. Very helpful.



   
ReplyQuote
Share:
Scroll to top