Error when creating new pages in the panel: Error: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given

Hey guys,
i get the following error when i try to create new pages in the panel.

I’m on PHP Version 8.0.27-he.0 and unfortunately thats the only php version the hoster provides.
Any idea how to fix this issue?

Please provide more information:

  • Your Kirby version
  • do you use any plugins
  • is there a stack trace of the error, for example in your browser console or the php error logs?

Hello,
ah! It was indeed a plugin causing the problem. I forgot to update that one. Thanks for the hint.