Solved PHP 8.1 [E_DEPRECATED] json_decode(): Passing null to parameter (in XF/Entity/Thread::rebuildFirstPo

This topic has been solved
P

Painbaker

Guest
Code:

Code:
ErrorException: [E_DEPRECATED] json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in src/XF/Entity/Thread.php at line 987
XF::handlePhpError()
json_decode() in src/XF/Entity/Thread.php at line 987

XF\Entity\Thread->rebuildFirstPostInfo() in src/XF/Entity/Thread.php at line 959
XF\Entity\Thread->rebuildCounters() in src/XF/Job/Thread.php at line 34
XF\Job\Thread->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 47
XF\Job\AbstractRebuildJob->run() in...

Read more

Continue reading...