Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 3, 20223 yr The following error is showing up on my main forum page since upgrading to 4.6.10 Any insight on what the $loadedHooks property refers to? Thu, 03 Feb 2022 02:07:20 +0000 Error: Access to undeclared static property: IPS\IPS::$loadedHooks (0) #0 /srv/www/[...]/public_html/forums/system/Dispatcher/Front.php(652): IPS\_Log::log() #1 /srv/www/[...]/public_html/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #2 /srv/www/[...]/public_html/forums/index.php(13): IPS\_Dispatcher->run() #3 {main} #0 /srv/www/[...]/public_html/forums/init.php(1005): IPS\_Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main} If I comment out line 652 of Front.php (which appears to be something to log errors), the site loads fine and appears fine from front-end, but generates many more errors on backend. And obviously commenting out an error-logging isn't a sustainable solution :)
February 3, 20223 yr There is an optional patch that was released today that fixes most of the Dispatcher issues. Have you applied it yet?
February 3, 20223 yr Community Expert Solution As mentioned above, this is an issue that was fixed. If you are in the middle of an upgrade, please upload a fresh set of files from your client area and rerun the upgrader from /admin/upgrade
February 5, 20223 yr Author Appears to be resolved after redownloading and wiping files again today. Thanks!
February 7, 20223 yr Community Expert On 2/5/2022 at 8:02 PM, at_a_glance said: Appears to be resolved after redownloading and wiping files again today. Thanks! Thank you for your feedback 🙂 Glad to see it resolved the issue