• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

BUG get_post_meta could return non-array value if $single is true.

yentl

New member
Messages
1
Likes
0
Points
1
#1
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() 3
do_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:260
Plugin: insert-php​
 

alexkovalev

Program developer
Staff member
Messages
201
Likes
13
Points
18
#2
Hi,

On what page did you follow these errors? Do they appear on all pages?

Please attach a screenshot of your snippet settings to this topic. This will help me reproduce the problem.

Best regards, Alex