Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i18n navigation php warning
#1
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
Reply




Users browsing this thread: 1 Guest(s)