Title: PHP notice undefined variable
Last modified: October 16, 2018

---

# PHP notice undefined variable

 *  Resolved [Mickaël Gris](https://wordpress.org/support/users/mgris/)
 * (@mgris)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-10/)
 * I have this error on each page.
 * PHP Notice: Undefined variable: font_family in /var/www/web/wp-content/plugins/
   gdpr-cookie-compliance/moove-modules.php on line 28
 * I have add default $ font_family = null; on get_branding_styles () function. 
   Problem seems to be solved.

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

 *  [Dino](https://wordpress.org/support/users/dinocovelli/)
 * (@dinocovelli)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-10/#post-10811502)
 * I’m getting flooded with these errors too. I’m hesitant to change the code. Any
   chance this is getting patched?
 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-10/#post-10814596)
 * Hi there,
 * Thanks for your comments on this.
 * I can confirm the issue is fixed in the latest version of the plugin (1.1.7).
 * I hope this helps.

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

The topic ‘PHP notice undefined variable’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-10/#post-10814596)
 * Status: resolved