Notice on archive page
-
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Notice on archive page’ is closed to new replies.