Forums

ChronoForums v2.0.11 - Error in /libraries/cegcore2/libs/helper.php on line 20

trogladyte 16 Dec, 2021
The error log is at 80Mb and is, apart from the odd other line, totally full of lines like this:

[16-Dec-2021 14:08:37 UTC] PHP Warning: Creating default object from empty value in /home/<installation-name>/public_html/libraries/cegcore2/libs/helper.php on line 20

Is this something I have set up incorrectly?
GreyHead 17 Dec, 2021
H trogladyte,

This looks like a problem with a PHP upgrade. It needs Max to find time to update the Forums v2 files. Meanwhile there is a fix in this post that should work.

Bob
OlliMuc 05 Feb, 2022
The fix mentioned is:
​[pre]quick fix: surround the 3 lines with $viewer with the following lines:
if($viewer){[br][br]and[br][br]}[br][br]or wait for the new update![/pre]
It doesn't mention WHERE to place the code, exactly. My entire error log is bloated due to this issue, and even though the post is years old by now, reinstalling the current CF6 didn't resolve the problem. [br]
You need to login to be able to post a reply.