Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 22, 20222 yr 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, 20222 yr by DeRealDeano
December 22, 20222 yr Community Expert 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.
December 22, 20222 yr Community Expert It looks like you have something there that isnt compatible with PHP 8
December 22, 20222 yr Author 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?
December 22, 20222 yr Community Expert 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.
December 22, 20222 yr Author 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.
December 22, 20222 yr Community Expert 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