The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
i18n navigation php warning - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: i18n navigation php warning (/showthread.php?tid=9548)



i18n navigation php warning - Didier9 - 2017-03-18

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