Jump to content

Error when upgrading from PHP 7.4 to 8.0


Recommended Posts

Hello,

We are on PHP 7.4 and trying to push it to 8.0, however we are getting the following error on 8.0. We have upgraded all of our sites to 8.0 without any issue with the exception of our IPB forum.
Any advice on how to resolve this error? Thanks in advance!


[23-Feb-2022 13:49:07 UTC] PHP Fatal error:  Uncaught Error: Attempt to assign property "timezone" on null in /home/clickinmoms/public_html/forums/system/Member/Member.php:183
Stack trace:
#0 /home/clickinmoms/public_html/forums/system/Log/Log.php(107): IPS\_Member::loggedIn()
#1 /home/clickinmoms/public_html/forums/init.php(1015): IPS\_Log::log('Error: Class "m...', 'uncaught_except...')
#2 [internal function]: IPS\IPS::exceptionHandler(Object(Error))
#3 {main}
  thrown in /home/clickinmoms/public_html/forums/system/Member/Member.php on line 183

Link to comment
Share on other sites

  • 6 months later...
On 2/23/2022 at 10:11 AM, Marc Stridgen said:

Please check the requirements checker here first of all, to make sure there is nothing you are missing as a requirement

 

Hi Marc,

Thanks so much for your response.

We already have the forum running just fine.
And when uploading that file it passes with all green: https://www.theclickcommunity.com/ips4.php

We are receiving this error when trying to go from 7.4 to 8.0:

Fatal error: Declaration of IPS\core\ProfileFields\hook606::displayValue($value = null, $showSensitiveInformation = false, $location = 0, ?IPS\Member $member = null) must be compatible with IPS\core\ProfileFields\_Field::displayValue($value = null, $showSensitiveInformation = false, $location = 0, ?IPS\Member $member = null, $bypassCustomFormatting = false, $separator = null) in /home/clickinmoms/public_html/forums/init.php(913) : eval()'d code on line 175

--

And additional advise you could provide? Thanks again!
Link to comment
Share on other sites

On 9/8/2022 at 8:17 AM, Marc Stridgen said:

You need to check in the hooks list (right hand side of the support area in your admin CP) and see what hook 606 is related to. Once you find what application or plugin that is related to, disable that plugin/app and report it to the author

Thanks for your quick response, we'll give that a try!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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