abetts Posted January 6, 2022 Share Posted January 6, 2022 I'm trying to move the forums to php 8.0 - I'm getting a 500 error which I asked the hosting company to look into and this is their response. Any ideas? The error we saw for the forums site when PHP 8.0 was implemented looks to have been related to the following script: /public_html/forums/init.php[06-Jan-2022 15:04:05 UTC] PHP Fatal error: Declaration of IPS\hook28::link($warningRef = null, $groupFormatting = false) must be compatible with IPS\_Member::link($warningRef = null, $groupFormatting = null, $anonymous = false) in /home/dzxzyz/public_html/forums/init.php(903) : eval()'d code on line 5]This is stating that the way that some items in the init script are being referenced is incorrect and would have to be alteredhttps://stackoverflow.com/questions/11273313/fatal-error-declaration-of-must-be-compatible-with-php Link to comment Share on other sites More sharing options...
Solution Daniel F Posted January 6, 2022 Solution Share Posted January 6, 2022 That’s an issue with a 3rd party app/plugin. abetts and SeNioR- 2 Link to comment Share on other sites More sharing options...
All Astronauts Posted January 6, 2022 Share Posted January 6, 2022 @Daniel F remind me (others) again - PHP8 isn't officially supported for Invision Community yet right? SeNioR- 1 Link to comment Share on other sites More sharing options...
Stuart Silvester Posted January 6, 2022 Share Posted January 6, 2022 3 minutes ago, All Astronauts said: @Daniel F remind me (others) again - PHP8 isn't officially supported for Invision Community yet right? Yes, PHP 8.0.x is. it is PHP 8.1 that isn't officially supported yet. wegorz23, Jim M, LiquidFractal and 3 others 4 2 Link to comment Share on other sites More sharing options...
IveLeft... Posted January 6, 2022 Share Posted January 6, 2022 Im running a forum on PHP 8.1.1 and no problems found (yet) wegorz23 and Marc 2 Link to comment Share on other sites More sharing options...
Recommended Posts