get_post_meta could return non-array value if $single is true.
-
i was referred to here from my
Other post.I have this awesome tool called query monitor, when i installed yoast SEO this tool informs me that i have php errors. Funny thing the tools says the problem is in insert-php plugin yet it only occurs when i install yoast SEO.
Warning Invalid argument supplied for foreach() 3do_action(‘init’)
wp-settings.php:505
WINP_Gutenberg_Snippet->init()
Unknown location
WINP_Helper::get_shortcode_data()
wp-content/plugins/insert-php/admin/includes/class.gutenberg.snippet.php:29
WINP_Helper::getMetaOption()
wp-content/plugins/insert-php/includes/class.helpers.php:120
wp-content/plugins/insert-php/includes/class.helpers.php:260Plugin: insert-php
they told me this:
It’s the warning in plugin insert-php (method getMetaOption) because get_post_meta could return non-array value if $single is true.
The page I need help with: [log in to see the link]
The topic ‘get_post_meta could return non-array value if $single is true.’ is closed to new replies.