Jump to content

TypeError: get_class(): Argument #1 ($object)


Recommended Posts

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 by Egorkin
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...