Title: php notice error
Last modified: January 4, 2018

---

# php notice error

 *  Resolved [Sergiu](https://wordpress.org/support/users/sergiuchiru/)
 * (@sergiuchiru)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-notice-error-3/)
 * Hello Richard and thanks for creating this plugin.
    I recently noticed a bug 
   in your plugin which results in a notice error in our logs.
 * The code in question can be found in the file:
    php/functions.php at line 137
 * The $version variable is undefined. Possibly because it is created inside the
   if.
 * Can you please correct it and update the plugin?
 * Thanks.

The topic ‘php notice error’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

## Tags

 * [notice error](https://wordpress.org/support/topic-tag/notice-error/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [Sergiu](https://wordpress.org/support/users/sergiuchiru/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/php-notice-error-3/)
 * Status: resolved