GetSimple Support Forum

Full Version: i18n navigation php warning
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My ISP recently upgraded php to 7.x (I believe) and I was getting this message at the top of each page:
"Methods with the same name as their class will not be constructors in a future version of PHP"
with a reference to line 347 of  frontend.class.php, part of the i18n Navigation plugin.

I downloaded the latest version of the plugin but it did not fix it, so I found this link:

https://cweiske.de/tagebuch/php4-constructors-php7.htm

Based on that, I modified the function referenced in the warning as follows:

[Image: i18_Navigation_frontend.class.png]

That fixed the problem Smile