Active
Project:
Marinelli
Version:
7.x-3.0-beta11
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
16 Feb 2011 at 10:04 UTC
Updated:
13 May 2013 at 05:59 UTC
Getting below error on http://educationechosystem.com/admin/appearance/settings/marinelli
Fatal error: Call to undefined function menu_get_menus() in public_html/sites/all/themes/marinelli/theme-settings.php on line 157
Comments
Comment #1
mavimo commentedCan you give me more info? Other modules or patch do you use on your site?
Comment #2
Mandakini_Kumari commentedThanks for your reply we upgraded from drupal 6 to 7 so default menu module was not enable. Once I enable menu module it work perfect for me.
I am getting below message frequently
Notice: Undefined index: addvalue in line 3
Please let me know what setting change need to do?
Comment #3
mavimo commentedI think is a problem with update path from D6 to D7 and not a Marinelli issue, try with other theme and let us know if problem persists.
Comment #4
Lioz commentedComment #5
cayenne commentedWell, I am sorry to report the same error.
Fresh install of D7, I uploaded the theme to /sites/all/themes and get the error when going to
/admin/appearance/settings/marinelli
Other pages seem to be okay, but of course we need to set settings.
There are no other installed modules.
And later, after reinstalling (fail) I also enabled the menu module and it seems to work.
Perhaps one could make the dependency explicit?
Comment #6
tomcatuk commentedRE:Cayenne. Confirmed, just did a clean install using the "minimal" installation, and this error appears. Enabling the menu module fixes this right enough. Dependancies need to be made clear.
Comment #7
Lioz commented@tomcatuk unfortunately theme info files don't support dependecies. However this information could be placed in the documentation.
Comment #8
mavimo commentedduplicate of #1090928: Marinelli does not show themes settings-page in admin
Comment #9
vegantriathleteThis is still an issue with this release. Even though most people probably enable the Menu module, the error could be confusing for new users. I would recommend a note on the Project page (yes, I know there is a link in the right sidebar under Resources) pointing people to the Handbook.
Note: the README.txt file does point people to the Handbook. But, many new users may not even know how to get to that file. The Installation and requirements page in the handbook does specify that the core menu module is required. But, many new users may have overlooked the link in the right sidebar to the handbook and won't have seen that page.
Comment #10
ChuckZ commentedOther modules do the following before calling:
if (module_exists('menu')) {
$menu_options = menu_get_menus();
}
Comment #11
goodarzi121 commentedHi to all.
yeh.
1) set default another theme.
2) enable Menu module on Core.
3) set default marinelli theme again.
It's Solve!