Home>Support>Error message: undefined property

Error message: undefined property

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

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 5 years, 7 months ago Alex S
    Hi, I Work Here

    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?

  2. 5 years, 7 months ago Claudia Schreiber

    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.

  3. 5 years, 7 months ago Alex S
    Hi, I Work Here

    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.

  4. 5 years, 7 months ago Claudia Schreiber

    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.

  5. 5 years, 7 months ago Alex S
    Hi, I Work Here

    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.

  6. 5 years, 7 months ago Claudia Schreiber

    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.

  7. 5 years, 7 months ago Alex S
    Hi, I Work Here

    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:

    $screen->is_block_editor;

    With:

    ( ! method_exists( $screen, 'is_block_editor' ) || $screen->is_block_editor );

    Here’s the pull requestfor this issue.

  8. 5 years, 7 months ago Claudia Schreiber

    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?

  9. 5 years, 7 months ago Alex S
    Hi, I Work Here

    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.

  10. 5 years, 7 months ago Claudia Schreiber

    Super! Thanks for your help, Alex!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More