Wallieweb Posted September 5, 2019 Share Posted September 5, 2019 Hi I'm having troubles to view my community. I've uploaded and restored a backup to my new server. My wordpress blog is up and running, but the community gives a ERROR 500. In the error logs I can see the error is generated by file: init.php on line 1363 Anyone knows how to resolve this? This is standard code from IPS. [Thu Sep 05 23:03:34.073035 2019] [lsapi:error] [pid 602543:tid 140384514426624] [client xxxxPRIVACY IP ADRESS MASKEDxxxxxxxxxxx] [host www.aardgasrijder.be] Backend fatal error: PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /home/aardgas/domains/aardgasrijder.be/public_html/forum/init.php on line 1363\n [Thu Sep 05 23:04:00.385759 2019] [lsapi:error] [pid 602710:tid 140384871081728] [client xxxxPRIVACY IP ADRESS MASKEDxxxxxxxxxxx] [host www.aardgasrijder.be] Backend fatal error: PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /home/aardgas/domains/aardgasrijder.be/public_html/forum/init.php on line 1363\n [Thu Sep 05 23:04:03.445939 2019] [lsapi:error] [pid 602354:tid 140384734713600] [client xxxxPRIVACY IP ADRESS MASKEDxxxxxxxxxxx] [host www.aardgasrijder.be] Backend fatal error: PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /home/aardgas/domains/aardgasrijder.be/public_html/forum/init.php on line 1363\n .... /** * Send IPS Cloud applylatestfiles command * Fallback for autoupgrade failures * * @param int $version If we're upgrading, the current version we are running. * @return void */ public static function applyLatestFilesIPSCloud( ?int $version = NULL ) { if ( \IPS\CIC AND \function_exists( 'IPS\Cicloud\applyLatestFilesIPSCloud' ) ) { \IPS\Cicloud\applyLatestFilesIPSCloud( $version ); } } Link to comment Share on other sites More sharing options...
Adlago Posted September 5, 2019 Share Posted September 5, 2019 Support - "Something isn't working correctly", maybe it will remove the issue Link to comment Share on other sites More sharing options...
Wallieweb Posted September 5, 2019 Author Share Posted September 5, 2019 Stupid stupid stupid of me.... It seems that the PHP version was outdated... Problem solved by running Link to comment Share on other sites More sharing options...
bfarber Posted September 6, 2019 Share Posted September 6, 2019 Yes, I was going to say, you need to upgrade your version of PHP to fix that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.