• Resolved Alex Spataru

    (@alexandrubr)


    Hi,

    On a custom theme, I registered 4 sidebars and on one sidebar I used the Editor widget.

    When I’m visiting an (empty) archive, I get this notice:

    Notice: Trying to get property 'ID' of non-object in \wp-content\plugins\so-widgets-bundle\widgets\editor\editor.php on line 118

    The error comes because on that line, your widget tries to get the post meta, while no post is present.

    Thank you,
    Alex

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor alexgso

    (@alexgso)

    Hi Alex,

    We’re sorry for missing your thread. Thank you for reporting this issue. We’ve identified the cause of this notice and it’ll be fixed in the next SiteOrigin Widgets Bundle update. In the meantime, you can avoid seeing this notice by disabling WP_DEBUG. This can be done by editing your wp-config.php file.

    Kind regards,
    Alex

    Thread Starter Alex Spataru

    (@alexandrubr)

    Hi,

    Thank you. Great news!

    Plugin Support Andrew Misplon

    (@misplon)

    Hi Alex. Thanks for your understanding. We’re busy finalizing the next Widgets Bundle release. I don’t have a release date yet but it should be quite soon. If questions arise in the future, please, let us know. Cheers for now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Notice on archive page’ is closed to new replies.