Jump to content

PHP8.0


abetts
 Share

Go to solution Solved by Daniel F,

Recommended Posts

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 altered

https://stackoverflow.com/questions/11273313/fatal-error-declaration-of-must-be-compatible-with-php

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...