I upgraded a site from 7.x-3.0-alpha2 to 7.x-3.0-alpha5 and on going to the settings page for my 7.x-2.x sub-theme was greeted by
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 104 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 191 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 191 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 191 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 191 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 191 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 191 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 280 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 280 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 385 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 385 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 385 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
• Notice: Undefined variable: font_your_face_enabled in include_once() (line 446 of \sites\all\themes\adaptivetheme\at_core\inc\forms\settings.fonts.inc).
I’ve removed the root path for clarity. I’m not running @font-your-face. Please let me know what else I can do to help troubleshoot this issue!
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedYou've done enough already, cheers!
Comment #2
Jeff Burnz CreditAttribution: Jeff Burnz commentedIf you want to fix this yourself you can add one line to settings.fonts.inc, around line 28:
$font_your_face_enabled = FALSE;
So it looks like this:
That will initialize/define the variable. Cheers, I need to remember to switch modules off as part of my tests.
Pushing the fix to DEV in the next round of commits.