Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: charlottezweb on July 26, 2024, 09:02:40 AM

Title: Migrated servers - Error being logged on every page load
Post by: charlottezweb on July 26, 2024, 09:02:40 AM
Greetings -

I'm working on a forum running 2.0.18 that's on a server that I replaced last night.  The new server has some slight differences in terms of OS/PHP/MySQL but is running other SMF forums just fine.

For this one particular site, the forum is loading fine with no visible errors however this is getting logged in SMF for every single page load:

2: Parameter 1 to custom_report_ob() expected to be a reference, value given
I'm coming up with nothing useful on Google searches or here.  Can someone more knowledgeable than me suggest what to dig into?

I suppose I could upgrade to 2.0.19 just to see if that does something but I'm wondering if this is residual code from a past mod or something?

Cheers,
Jason
Title: Re: Migrated servers - Error being logged on every page load
Post by: crash56 on July 26, 2024, 09:13:11 AM
Owner of the forum here.  In case it helps, here are our modification packages:

Float BBCODE
Stop Forum Spam
My Posts SMF2
BK Modding Disable Decrease Post Count
Custom Mod Report
Spoiler Tag
Tabbed Smileys

The errors seem to be generated by ANY page hit at all, including Guests.

I'm running a second forum on another of Charlottezweb's servers, pretty much a duplicate in terms of software, without this page load error. 


Title: Re: Migrated servers - Error being logged on every page load
Post by: Doug Heffernan on July 26, 2024, 10:35:52 AM
What is the php version on the server that hosts the forum that is throwing the aforementioned error?
Title: Re: Migrated servers - Error being logged on every page load
Post by: @rjen on July 26, 2024, 11:21:34 AM
I would first uninstall this mod...

Custom Mod Report
Title: Re: Migrated servers - Error being logged on every page load
Post by: crash56 on July 26, 2024, 11:52:35 AM
Quote from: @rjen on July 26, 2024, 11:21:34 AMI would first uninstall this mod...

Custom Mod Report

That did it!!  Thank you.  We've stopped generating hundreds of errors.  <happy dance>
Title: Re: Migrated servers - Error being logged on every page load
Post by: charlottezweb on July 26, 2024, 12:00:24 PM
Thanks @rjen!

@Doug - The problem persisted across servers on the same version of PHP.  I made the comment php is slightly different because we had some hardened (really old) versions on the old server that we're not offering anymore.

Cheers!
-Jason