Closed (fixed)
Project:
AT Panels Everywhere
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2012 at 21:55 UTC
Updated:
4 Jul 2012 at 22:41 UTC
Fatal error: Call to undefined function _theme_menu_variables() in /path/to/themes/at_panels_everywhere/template.php on line 121
I'm unable to find reference to this function in either 6.x or 7.x--not sure what the appropriate fix may be.
Comments
Comment #1
Jeff Burnz commentedNeed more info, did you upgrade at some stage? This function is only missing from the very latest Adatptivetheme core 7.x-3.x-dev and subthemes never call it, only the base theme, so I think you upgraded and something has gone wrong in that process. Tell me what you did, especially if you used the auto upgrader in Drupal.
Comment #2
jhedstromThis is from an installation profile I'm working on, so no upgrading involved. I've grabbed the latest 3.x of the base theme (and also tried a direct git clone), but am not seeing that function.
Comment #3
jhedstromSorry, I mis-read your comment. I see the function now in the history of 3.x. Sorry for the noise :)
Comment #4
dmenefee commentedI'm seeing this too. The call to the function is originating in the AT Panels Everywhere template.php, so if it's been removed from AT core then atpe should be updated accordingly.
Comment #5
andypostChanging status! If this function has been removed so what should be used instead
Fatal error: Call to undefined function _theme_menu_variables() in /var/local/mods/panels_everywhere/at_panels_everywhere.git/template.php on line 121git checkout cc9dc2d92c5cce0878630cf69b2265cd580dac74 works against adaptivetheme.git
Comment #6
Jeff Burnz commentedIn 7.x-3.x this became a proper theme function,
theme_menubar(), so you call it like this:I will update AT Panels Everywhere shortly. Cheers.
Comment #7
Taxoman commentedHas this been included in the recently updated -dev? (June 13th)
Comment #8
Jeff Burnz commentedYes it was included in the last update.
Comment #9
Jeff Burnz commented