Egorkin Posted August 28, 2022 Share Posted August 28, 2022 (edited) There are a lot of such errors in the error log: Quote TypeError: get_class(): Argument #1 ($object) must be of type object, null given in .../applications/core/sources/Announcements/Announcement.php:198 Stack trace: #0 .../system/Theme/Theme.php(880) : eval()'d code(104): IPS\core\Announcements\_Announcement::loadAllByLocation('content') #1 .../system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->announcementContentTop() #2 .../system/Theme/Theme.php(880) : eval()'d code(18059): IPS\Theme\_SandboxedTemplate->__call('announcementCon...', Array) #3 .../system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('header', 'horizontal') #4 .../system/Theme/Theme.php(880) : eval()'d code(6697): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #5 .../system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('311e1da64728489...', '\n\n<section id='...', Array) #6 .../system/Output/Output.php(748): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #7 .../applications/core/interface/file/attachment.php(136): IPS\_Output->error('\xD0\x9C\xD1\x8B \xD0\xBD\xD0\xB5 \xD1\x81\xD0\xBC\xD0...', '2S328/1', 404, '') #8 {main} Is this my problem or an IPB bug? P.S.: PHP 8.0.19 and IPB 4.6.12.1 Edited August 28, 2022 by Egorkin Link to comment Share on other sites More sharing options...
Nathan Explosion Posted August 28, 2022 Share Posted August 28, 2022 Upgrade to 4.7.x Egorkin 1 Link to comment Share on other sites More sharing options...
Egorkin Posted August 28, 2022 Author Share Posted August 28, 2022 Yes, I have plans to upgrade to the latest version in a week. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted August 28, 2022 Share Posted August 28, 2022 Cool, will be fixed then. Egorkin 1 Link to comment Share on other sites More sharing options...
Recommended Posts