Title: Recent Update Causing PHP Warning
Last modified: September 22, 2020

---

# Recent Update Causing PHP Warning

 *  Resolved [DessertGuru](https://wordpress.org/support/users/dessertguru/)
 * (@dessertguru)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/recent-update-causing-php-warning/)
 * The recent update that was released is generating 2 php warnings:
 * Error 1:
    wp-content/plugins/disable-dashboard-for-woocommerce/disable-dashboard-
   for-woocommerce.php:381 wp-settings.php wp-settings.php:377
 * Use of undefined constant ‘woocommerce_allow_marketplace_suggestions’ – assumed‘‘
   woocommerce_allow_marketplace_suggestions’’ (this will throw an Error in a future
   version of PHP)
 * Error 2:
    wp-content/plugins/disable-dashboard-for-woocommerce/disable-dashboard-
   for-woocommerce.php:381 wp-settings.php wp-settings.php:377
 * Use of undefined constant ‘__return_false’ – assumed ‘‘__return_false’’ (this
   will throw an Error in a future version of PHP)
 * Might want to fix that.

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

 *  [Bob](https://wordpress.org/support/users/bobroos/)
 * (@bobroos)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/recent-update-causing-php-warning/#post-13441901)
 * Same here, in my case there are many of them, a few per minute.
 * Would be nice to have that fixed.
 * Otherwise… Your plugin really helps!
    Thanx! Bob
 *  [miyakong](https://wordpress.org/support/users/miyakong/)
 * (@miyakong)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/recent-update-causing-php-warning/#post-13442355)
 * Hi,
 * I am getting same error. Thanks
 *  Plugin Contributor [ospiotr](https://wordpress.org/support/users/ospiotr/)
 * (@ospiotr)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/recent-update-causing-php-warning/#post-13442508)
 * Hi [@miyakong](https://wordpress.org/support/users/miyakong/) [@bobroos](https://wordpress.org/support/users/bobroos/)
   [@dessertguru](https://wordpress.org/support/users/dessertguru/)
 * Sorry about that! There was an error in the plugin’s code syntax.
    I have just
   released 2.2 version which will fix this issue. Please update.
 *  [Bob](https://wordpress.org/support/users/bobroos/)
 * (@bobroos)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/recent-update-causing-php-warning/#post-13442551)
 * [@ospiotr](https://wordpress.org/support/users/ospiotr/) Just updated, clean 
   log again! Thank you!
 *  [miyakong](https://wordpress.org/support/users/miyakong/)
 * (@miyakong)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/recent-update-causing-php-warning/#post-13443302)
 * [@ospiotr](https://wordpress.org/support/users/ospiotr/) Just updated, the issue
   is fixed. Many thanks for your efforts and time.
 *  Thread Starter [DessertGuru](https://wordpress.org/support/users/dessertguru/)
 * (@dessertguru)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/recent-update-causing-php-warning/#post-13445372)
 * [@ospiotr](https://wordpress.org/support/users/ospiotr/) – Thank you for the 
   quick fix… you’re awesome!

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

The topic ‘Recent Update Causing PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/disable-dashboard-for-woocommerce/assets/icon-256x256.png?
   rev=2822447)
 * [Disable Bloat for WordPress & WooCommerce](https://wordpress.org/plugins/disable-dashboard-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disable-dashboard-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disable-dashboard-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/disable-dashboard-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disable-dashboard-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disable-dashboard-for-woocommerce/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * 6 replies
 * 4 participants
 * Last reply from: [DessertGuru](https://wordpress.org/support/users/dessertguru/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/recent-update-causing-php-warning/#post-13445372)
 * Status: resolved