Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, lately my forum (using Invision Power Suite) keeps having this log appear behind the scenes:

Quote:
Error: Call to undefined method stdClass::language() (0)
#0 /home/***/public_html/forums/system/Dispatcher/Front.php(713): IPS\Dispatcher\_Standard::baseJs()
#1 /home/***/public_html/forums/init.php(902) : eval()'d code(16): IPS\Dispatcher\_Front::baseJs()
#2 /home/***/public_html/forums/system/Dispatcher/Front.php(82): IPS\Dispatcher\bimchatbox_hook_includeJSandCSS::baseJs()
#3 /home/***/public_html/forums/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init()
#4 /home/***/public_html/forums/index.php(13): IPS\_Dispatcher::i()
#5 {main}
#0 /home/***/public_html/forums/init.php(1004): IPS\_Log::log()
#1 [internal function]: IPS\IPS::exceptionHandler()
#2 {main}



The log keeps calling to a "language" function in one of our third party add-ons, a chatbox. The problem is, "language" is not anywhere in the app's file at all. We looked and it is nowhere to be found in that specific file, so we have no idea why it keeps trying to call to it. It's possible there's some obscure leftover code somewhere but we wouldn't know where to look. This chat is necessary for users to talk with so I don't want to leave it disabled for a long period of time. I don't think this log is causing any issues but I would like it to stop being made. Any assistance would be appreciated.

What I have tried:

I tried uninstalling and reinstalling the associated plugin, but this didn't fix it either. We also tried looking in the specific file being referenced but there was no "language" function. I also tried asking the maker of the add-on but they were unable to reproduce the issue.
Posted
Comments
Richard MacCutchan 18-Dec-21 10:56am    
You need to look at the code around the lines listed in the stack trace to find out what is happening.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900