Keep having this message in "Recent log messages"

Type: “menu_block"
Message: "Menu block ctools-menu-footer-1 is set to use parent menu link menu-footer:menu-footer:menu-footer:0 but the menu link was not loadable or does not exist."

Could someone give me some advice? Thank you in advance.

Comments

raymond9263 created an issue. See original summary.

adamtyoung’s picture

Same here--I just started seeing this now. It is preventing node pages from loading.

richardu’s picture

Same here --I started a fresh website from openatrium 7.x-2.50 and somewhere in the process this message turned up and colors my 'recent log messages' red. How can I find this 'ctools-menu-footer-1'?

richardu’s picture

In profiles/openatrium/modules/contrib/oa_core/modules/oa_layouts/oa_layouts.panels_default.inc I find what drupal apparently is looking for:

$pane->configuration = array(
    'menu_name' => 'menu-footer',
    'parent_mlid' => 'menu-footer:menu-footer:menu-footer:0',
    'title_link' => 0,
    'admin_title' => '',
    'level' => '1',
    'follow' => 0,
    'depth' => 0,
    'expanded' => 1,
    'sort' => 0,
    'override_title' => 1, 
    'override_title_text' => '',
  );

I wonder why or whether we are the only ones having log entries about this...

richardu’s picture

I don't know what was the deeper cause of the error message was, but I found a way to get rid of it.
ctools-menu-footer is the footer menu, hidden in the oa_footer mini-panel. ctools-menu-footer-1 is the one, accessible through the admin menu -> Structure -> Mini-panels -> oa_footer_panel -> edit -> Content -> Footer
You can disable this pane (no need to delete it), and the error message disappears.

I found it, after I added an oa_footer_panel and suddenly got error messages created by ctools-menu-footer-2.

As a possible cause... maybe removing parts of the oa_footer in my efforts to personalize my site.

mpotter’s picture

Category: Support request » Bug report

Converting this to a bug report because I can confirm this warning being written to the watchdog log. I'll look into it to see if we can clean this up so your logs aren't full of these.

Argus’s picture

Version: 7.x-2.50-rc1 » 7.x-2.50
maxplus’s picture

Thanks,

#5 helped me out

j.schneider’s picture

Got the same issue and can't find a way to fix it even after doing what #5 suggested.
Any help would be nice !

rbrownell’s picture

I am having difficulty with this as well. I can confirm that number 5 is not working for me either.

boabjohn’s picture

Got a vairation here using Panopoly on Pantheon:

Menu block ctools-main-menu-1 is set to use parent menu link main-menu but the menu link was not loadable or does not exist.

Any advice on how to trace this back to cause (per logic in #5?)

Thanks!

mpotter’s picture

Status: Active » Fixed

Committed a fix for this in oa_core 2235b9b. I just removed the parent mlid from the featurized footer panel. This is probably an issue with menu blocks that are featurized on systems that already had other menu links defined. Menu Block should probably offer an option for "Full menu" or something that doesn't require a parent pointer to the top element of a menu. The code supports setting this parent value to a blank string, but the UI for Menu Block doesn't seem to have a way to make this value empty.

In any case, thanks for bumping this to my attention in time for the 2.60-rc1 release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.