Title: PHP Warning Error
Last modified: May 10, 2020

---

# PHP Warning Error

 *  Resolved [RyanR](https://wordpress.org/support/users/rachelrichardsgmailcom/)
 * (@rachelrichardsgmailcom)
 * [6 years ago](https://wordpress.org/support/topic/php-warning-error-8/)
 * Hello,
 * When I activate MaxiCharts 1.7.5, I get the following error displayed across 
   my site. Can you help me fix this so I can use MaxiCharts? I have used in the
   past with great success. Many thanks!
 * Warning: Use of undefined constant MAXICHARTS_DEBUG_LEVEL – assumed ‘MAXICHARTS_DEBUG_LEVEL’(
   this will throw an Error in a future version of PHP) in /…/…/public_html/wp-content/
   plugins/maxicharts/mcharts_utils.php on line 96

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

 *  Plugin Author [maxicharts](https://wordpress.org/support/users/maxicharts/)
 * (@maxicharts)
 * [6 years ago](https://wordpress.org/support/topic/php-warning-error-8/#post-12813236)
 * Hi [@rachelrichardsgmailcom](https://wordpress.org/support/users/rachelrichardsgmailcom/):
   this is a warning not an error, si maxicharts should work as expected.
    You can
   just modify your `wp-config.php` file with:
 * `define('WP_DEBUG_DISPLAY', false);`
 * This will be fixed in next release.
    Cheers
 *  Thread Starter [RyanR](https://wordpress.org/support/users/rachelrichardsgmailcom/)
 * (@rachelrichardsgmailcom)
 * [6 years ago](https://wordpress.org/support/topic/php-warning-error-8/#post-12814971)
 * Thank you!
 *  Thread Starter [RyanR](https://wordpress.org/support/users/rachelrichardsgmailcom/)
 * (@rachelrichardsgmailcom)
 * [6 years ago](https://wordpress.org/support/topic/php-warning-error-8/#post-12818252)
 * Unfortunately the fix of modifying the wp-config.php doesn’t work for me. When
   I tried it, I got the following warnings:
 * Warning: Use of undefined constant MAXICHARTS_DEBUG_LEVEL – assumed ‘MAXICHARTS_DEBUG_LEVEL’(
   this will throw an Error in a future version of PHP) in /…/…/public_html/wp-content/
   plugins/maxicharts/mcharts_utils.php on line 96
 * Warning: Cannot modify header information – headers already sent by (output started
   at /…/…/public_html/wp-content/plugins/maxicharts/mcharts_utils.php:96) in /…/…/
   public_html/wp-includes/functions.php on line 6221
 *  Plugin Author [maxicharts](https://wordpress.org/support/users/maxicharts/)
 * (@maxicharts)
 * [6 years ago](https://wordpress.org/support/topic/php-warning-error-8/#post-12820698)
 * Can you please delete an re-install Maxicharts, we’ve made a fix.
    Thanks
 *  Thread Starter [RyanR](https://wordpress.org/support/users/rachelrichardsgmailcom/)
 * (@rachelrichardsgmailcom)
 * [6 years ago](https://wordpress.org/support/topic/php-warning-error-8/#post-12824177)
 * Works. Many thanks for the speedy fix!!
 *  Plugin Author [maxicharts](https://wordpress.org/support/users/maxicharts/)
 * (@maxicharts)
 * [6 years ago](https://wordpress.org/support/topic/php-warning-error-8/#post-12825149)
 * [@rachelrichardsgmailcom](https://wordpress.org/support/users/rachelrichardsgmailcom/):
   our pleasure !

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

The topic ‘PHP Warning Error’ is closed to new replies.

 * ![](https://ps.w.org/maxicharts/assets/icon-256x256.png?rev=1737118)
 * [MaxiCharts](https://wordpress.org/plugins/maxicharts/)
 * [Support Threads](https://wordpress.org/support/plugin/maxicharts/)
 * [Active Topics](https://wordpress.org/support/plugin/maxicharts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxicharts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxicharts/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [maxicharts](https://wordpress.org/support/users/maxicharts/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/php-warning-error-8/#post-12825149)
 * Status: resolved