Title: PHP warnings
Last modified: February 10, 2019

---

# PHP warnings

 *  Resolved [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-warnings-75/)
 * Hello,
 * I’m getting those PHP warnings lately (running latest versions of WP and plugin):
 * > Warning: Invalid argument supplied for foreach() in /wp-content/plugins/menu-
   > icons/vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.
   > php on line 376
 * > Warning: array_merge(): Argument #1 is not an array in /wp-content/plugins/
   > menu-icons/vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-
   > blog.php on line 375

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

 *  [Vishakha Patel](https://wordpress.org/support/users/vishakha/)
 * (@vishakha)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11303412)
 * Hi there,
 * Please make sure you are using the latest version of the plugin. I tested the
   same in my local and there is no warning even when the debug mode is on.
 * It might be happening because of some plugin conflict too. You can check by deactivating
   all the plugins. To do so, use Health Check plugin – [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/).
 *  Thread Starter [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11303858)
 * Thanks or this.
    I’m running the latest version of the plugin with WP 5.1 and
   PHP 7.2 at 3 different websites hosted at different hosts and all getting this
   warning – although everything still works fine.
 * Didn’t yet deactivated other plugins but will try to monitor what’s happening.
 *  [Vishakha Patel](https://wordpress.org/support/users/vishakha/)
 * (@vishakha)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11317006)
 * This warning does not stop the functionality because it is coming from a function
   used to provide some text information in the admin.
 * So the alternative way is also to hide it. You can do so by turning the debug
   mode off – [https://docs.themeisle.com/article/819-how-to-turn-on-off-debugging-in-wordpress](https://docs.themeisle.com/article/819-how-to-turn-on-off-debugging-in-wordpress)
 *  Thread Starter [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11317290)
 * Thanks but the debug mode was already off.
 *  [dkpminus](https://wordpress.org/support/users/dkpminus/)
 * (@dkpminus)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11372915)
 * I have the same issue here, plugin and WordPress are fully updaed. Any resolutions
   forthcoming?
 *  Thread Starter [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11373037)
 * Maybe move over here:
    [https://wordpress.org/plugins/wp-menu-icons/](https://wordpress.org/plugins/wp-menu-icons/)
 *  [Vishakha Patel](https://wordpress.org/support/users/vishakha/)
 * (@vishakha)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11382452)
 * [@dkpminus](https://wordpress.org/support/users/dkpminus/),
 * Can you provide a URL to the website where the issue is coming? So that we can
   try again to replicate the problem.
 *  [shayne](https://wordpress.org/support/users/shayne-thiessen/)
 * (@shayne-thiessen)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11384121)
 * I’m getting the same issue here, though not consistently. Sometimes it appears,
   and sometimes it doesn’t. And I’ve only ever noticed it in the WordPress dashboard
   where “Powered by Menu Icons” is displayed under the “WordPress guides/tutorials”
   dashboard widget.
 * This is the site I’ve had the issue with, but it’s only in the dashboard.
 * [https://declassified.space/](https://declassified.space/)
 *  [dkpminus](https://wordpress.org/support/users/dkpminus/)
 * (@dkpminus)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11385225)
 * [@vishakha](https://wordpress.org/support/users/vishakha/) The site I’ve had 
   the errors on is [https://www.dkpminus.com/](https://www.dkpminus.com/)
 *  [AC](https://wordpress.org/support/users/purplecodes/)
 * (@purplecodes)
 * Themeisle Support
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11394741)
 * [@shayne-thiessen](https://wordpress.org/support/users/shayne-thiessen/), [@dkpminus](https://wordpress.org/support/users/dkpminus/)
 * We have forwarded this to our developers for investigation.
    However, we do not
   have an expected time as of yet as to when the fix will be released.
 * We apologize for the inconvenience that this issue has caused you.
 *  [freakatiki](https://wordpress.org/support/users/freakatiki/)
 * (@freakatiki)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-warnings-75/#post-11481440)
 * I see the same errors:
 * class-themeisle-sdk-widget-dashboard-blog.php:375
    array_merge(): Expected parameter
   1 to be an array, object given
 * class-themeisle-sdk-widget-dashboard-blog.php:376
    Invalid argument supplied 
   for foreach()
 *  [freakatiki](https://wordpress.org/support/users/freakatiki/)
 * (@freakatiki)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/php-warnings-75/#post-11507564)
 * Will there be a fix?
    Error still existing, as described here too: [https://plugintests.com/plugins/menu-icons/latest](https://plugintests.com/plugins/menu-icons/latest)
 *  [raducan](https://wordpress.org/support/users/raducan/)
 * (@raducan)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11674255)
 * Hey [@freakatiki](https://wordpress.org/support/users/freakatiki/),
 * The error seems to have been fixed in the meantime. I checked plugintests.com
   and it says everything is fine, also I tested locally and couldn’t spot any php
   warnings.
    Can you also check on your side if you still have the issue?
 * Thank you
 *  Thread Starter [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11674316)
 * I also confirm that I don’t get those errors anymore.
 *  [raducan](https://wordpress.org/support/users/raducan/)
 * (@raducan)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11674381)
 * Thank you for the confirmation John 😃

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

The topic ‘PHP warnings’ is closed to new replies.

 * ![](https://ps.w.org/menu-icons/assets/icon-128x128.png?rev=2526860)
 * [Menu Icons by Themeisle – Add Icons to Navigation Menus](https://wordpress.org/plugins/menu-icons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/menu-icons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/menu-icons/)
 * [Active Topics](https://wordpress.org/support/plugin/menu-icons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/menu-icons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/menu-icons/reviews/)

 * 15 replies
 * 7 participants
 * Last reply from: [raducan](https://wordpress.org/support/users/raducan/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-75/#post-11674381)
 * Status: resolved