Title: php warning
Last modified: April 2, 2020

---

# php warning

 *  [Dimitar Popov](https://wordpress.org/support/users/mutibg/)
 * (@mutibg)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/php-warning-233/)
 * Hi,
    i got some errors in console. I use php 7.2.
 * [01-Apr-2020 13:25:41 UTC] PHP Warning: Use of undefined constant DEBUG – assumed‘
   DEBUG’ (this will throw an Error in a future version of PHP) in /home/webtouri/
   public_html/wp-content/plugins/easy-paypal-donation/includes/public_ipn.php on
   line 59
    [01-Apr-2020 13:25:41 UTC] PHP Warning: Use of undefined constant DEBUG–
   assumed ‘DEBUG’ (this will throw an Error in a future version of PHP) in /home/
   webtouri/public_html/wp-content/plugins/easy-paypal-donation/includes/public_ipn.
   php on line 77 [01-Apr-2020 13:25:41 UTC] PHP Warning: Use of undefined constant
   LOG_FILE – assumed ‘LOG_FILE’ (this will throw an Error in a future version of
   PHP) in /home/webtouri/public_html/wp-content/plugins/easy-paypal-donation/includes/
   public_ipn.php on line 78 [01-Apr-2020 13:25:41 UTC] PHP Warning: Use of undefined
   constant LOG_FILE – assumed ‘LOG_FILE’ (this will throw an Error in a future 
   version of PHP) in /home/webtouri/public_html/wp-content/plugins/easy-paypal-
   donation/includes/public_ipn.php on line 79
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-233%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Dimitar Popov](https://wordpress.org/support/users/mutibg/)
 * (@mutibg)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/php-warning-233/#post-12681591)
 * Someone can say something ?
    This warnings do not stopped.
 *  [kallym](https://wordpress.org/support/users/kallym/)
 * (@kallym)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/php-warning-233/#post-12941154)
 * HI, I had the same problem. I found this support thread, which is not exactly
   the same, but it helped me solve the problem. [https://wordpress.org/support/topic/warning-after-php-update/](https://wordpress.org/support/topic/warning-after-php-update/).
 * In the warning it says LOG_FILE – assumed ‘LOG_FILE’. So it’s saying that LOG_FILE
   is missing the single quotes around it. So go into that file and add them on 
   the lines that are mentioned in the file.
 * I did that and am not getting any errors and things are working. Hopefully the
   developer sees this and comments.

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

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

 * ![](https://ps.w.org/easy-paypal-donation/assets/icon-256x256.png?rev=3095887)
 * [Accept Donations with PayPal & Stripe](https://wordpress.org/plugins/easy-paypal-donation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-paypal-donation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-paypal-donation/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-paypal-donation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-paypal-donation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-paypal-donation/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kallym](https://wordpress.org/support/users/kallym/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/php-warning-233/#post-12941154)
 * Status: not resolved