PHP Notice when using shortcode
-
If I placed the [qa] shortcode on a page, and excerpts is not ticked in the settings, I get
Notice: Undefined index: excerpts in /PATH/TO/SITE/wp-content/plugins/q-and-a/inc/shortcodes.php on line 24
For now I’ve added a @ to suppress it but that will only work until the plugin is updated again.
- The topic ‘PHP Notice when using shortcode’ is closed to new replies.