Title: php erroers
Last modified: April 10, 2019

---

# php erroers

 *  Resolved [extreme4all](https://wordpress.org/support/users/extreme4all/)
 * (@extreme4all)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-erroers/)
 * 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
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-erroers%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Saša](https://wordpress.org/support/users/stodorovic/)
 * (@stodorovic)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-erroers/#post-11412284)
 * It’s the warning in plugin _[insert-php](https://wordpress.org/plugins/insert-php/)_(
   method getMetaOption) because [get_post_meta](https://developer.wordpress.org/reference/functions/get_post_meta/)
   could return non-array value if `$single` is true.
 * Please report this issue to [https://wordpress.org/support/plugin/insert-php/](https://wordpress.org/support/plugin/insert-php/).
 *  Thread Starter [extreme4all](https://wordpress.org/support/users/extreme4all/)
 * (@extreme4all)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-erroers/#post-11412616)
 * [thanks i did](https://wordpress.org/support/topic/get_post_meta-could-return-non-array-value-if-single-is-true/).
   
   i’ll close this topic if it is resolved there
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-erroers/#post-11440165)
 * We are going ahead and marking this issue as resolved. If you require any further
   assistance please create a new issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘php erroers’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/php-erroers/#post-11440165)
 * Status: resolved