Hi guys,
since a couple of days, I get the following error message:
PHP Notice: Undefined property: WP_Screen::$is_block_editor in /homepages/xx/dxxxxxx/htdocs/wp-content/plugins/siteorigin-panels/inc/admin.php on line 118
WordPress version 4.9.9, no pending updates.
I saw that this had already been posted, but without a solution :(
Greets,
Claudia
Hi Claudia,
I’m sorry to hear you’re experiencing issues. Can you please clarify when does this error occur? Is it when editing pages? Are you using Gutenberg?
Hi Alex,
I see this when switching from the media library to “Edit Media”. The exact same warning is displayed 3 times on top of the page.
No Gutenberg installed.
Hi Claudia,
Thanks. I’ve been able to replicate this issue and I’ve submitted a fix with the development team. This issue should be fixed in the next SiteOrigin Page Builder update. You can avoid this issue in the by updating WordPress – if you wish to avoid the Block Editor (ie. Gutenberg), please install the Classic Editor plugin.
Hi Alex,
thanks for the quick response.
Unfortunately, I currently can’t update WordPress as I am using MultilingualPress 2, which is not compatible with WordPress 5.0 and the guys over there couldn’t come up with a solution up to now :(
So I’ll wait for the Page Builder update.
Hi Claudia Schreiber,
I’m very sorry to hear that. Are you familiar with editing PHP files? I can provide you with instructions on applying this fix but I won’t be able to assist you with adding the PHP or any issues resulting from incorrectly adding the PHP.
Do I get it right that a Page Builder update will not fix the issue for WP 4.9.9?
Not an expert here, but I already managed to edit some PHP files. If you could give me your instructions, I can at least try to fix it.
Hi Claudia,
No, we will release a SiteOrigin Page Builder update to fix this issue but my previous comment will give you a method of avoiding this issue until the next SiteOrigin Page Builder update. Please open your websites WordPress files and navigate to wp-content/plugins/siteorigin-panels/inc and open admin.php. Replace:
With:
Here’s the pull requestfor this issue.
Yippee! – done – and it works! No more error messages occurring. Now, here is to hope that it didn’t break sth. else 😉.
Do I need to change sth. when the Page Builder update comes out, or will this work automatically?
Hi Claudia,
Great to hear that helped! :)
You won’t need to apply this change after the next update as it’ll be applied automatically.
Please be sure to post another thread if you have any other questions.
Super! Thanks for your help, Alex!