DeRealDeano Posted December 22, 2022 Posted December 22, 2022 (edited) Hi There, Just realised that my blogs seems to be broken, getting the error below when trying to access it. ParseError: syntax error, unexpected '|', expecting variable (T_VARIABLE) (0) #0 [internal function]: IPS\IPS::autoloader('IPS\\Content\\Con...') #1 /home/yi1zjdn1x6oc/public_html/#/applications/blog/modules/front/blogs/entry.php(24): spl_autoload_call('IPS\\Content\\Con...') #2 /home/yi1zjdn1x6oc/public_html/#/init.php(749): require_once('/home/yi1zjdn1x...') #3 [internal function]: IPS\IPS::autoloader('IPS\\blog\\module...') #4 [internal function]: spl_autoload_call('IPS\\blog\\module...') #5 /home/yi1zjdn1x6oc/public_html/#/system/Dispatcher/Dispatcher.php(142): class_exists('IPS\\blog\\module...') #6 /home/yi1zjdn1x6oc/public_html/#/index.php(13): IPS\_Dispatcher->run() #7 {main} Any help will be appreciated. Thanks. Edited December 22, 2022 by DeRealDeano
Jim M Posted December 22, 2022 Posted December 22, 2022 Please switch to an unmodified theme and disable all third-party applications/plugins and try again. Please let us know if you're still having issues.
Marc Posted December 22, 2022 Posted December 22, 2022 It looks like you have something there that isnt compatible with PHP 8
DeRealDeano Posted December 22, 2022 Author Posted December 22, 2022 Hi, no third party application currently enabled, only thing running is the invision suit. I'm currently running 4.7.4 on PHP7, would that be the cause?
Stuart Silvester Posted December 22, 2022 Posted December 22, 2022 9 minutes ago, DeRealDeano said: Hi, no third party application currently enabled, only thing running is the invision suit. I'm currently running 4.7.4 on PHP7, would that be the cause? In 4.7.4 the required minimum PHP version was changed to 8.0.
DeRealDeano Posted December 22, 2022 Author Posted December 22, 2022 OK, I presume that would be the issue then. No worries, I will update PHP and see how it goes. Once I have done that I will post an update, hopefully in a few days when I get around to it.
Stuart Silvester Posted December 22, 2022 Posted December 22, 2022 24 minutes ago, DeRealDeano said: OK, I presume that would be the issue then. No worries, I will update PHP and see how it goes. Once I have done that I will post an update, hopefully in a few days when I get around to it. Yes, that'll be the issue. If you use PHP 7 with 4.7.4+ you will encounter errors as we use code that will only work with PHP 8 DeRealDeano 1
Recommended Posts