Undefined index error on post preview and published post
-
Hi, sorry to bother you, but I am getting this line of error code when using your plug-in to show a list of posts:
Notice: Undefined index: excerptTrim in /www/wp-content/plugins/custom-layouts/includes/template/elements/class-excerpt.php on line 51 Notice: Undefined index: excerptHideReadMore in /www/wp-content/plugins/custom-layouts/includes/template/elements/class-excerpt.php on line 52I get this at the post excerpt/post content area, along with the rest of the actual post excerpt after the error message. The post thumbnail, title, category and “Read more” buttons display fine.
I got this on a staging site at Flywheel hosting, running latest WordPress version 5.7.2 on a customised Genesis Sample theme. Could it be a plug-in or theme conflict?Thank you.
- The topic ‘Undefined index error on post preview and published post’ is closed to new replies.