Hi I am running D7 beta2 and nodequeue 7.x-2.x-dev dated 7 October 2010 and I am getting the following error:

Notice: Object of class stdClass could not be converted to int in _menu_router_build() (line 3370 of /var/www/vhosts/ecoms.org.uk/subdomains/ecomstest/httpdocs/includes/menu.inc).

I was not getting this error before I installed nodequeue so this may be attributable to a bug in nodequeue. Please suggest any solutions to it.

Comments

tekante’s picture

I couldn't find anything in the nodequeue code that made me think there was a problem with the defined menu items. Details about research and a potential patch can be found here #972536: Object of class stdClass could not be converted to int in _menu_router_build() - line 3370.

aanjaneyam’s picture

Ok. Well then I have to look into the other place to see if I can reach a solution. Thanks.

amateescu’s picture

Status: Active » Postponed

A patch is available at http://drupal.org/node/972536#comment-4362138 (D7/8 core).

Marking as postponed until there is an outcome in that issue.

Screenack’s picture

I started seeing this after installing NodeQueue: +1 Applied the patch referenced in #3, so far no repeat of the error message.

amateescu’s picture

Status: Postponed » Fixed

On second thought, core issues tend to move *very* slow sometimes, so let's just fix this in nodequeue.

Commited attached patch to 7.x.

http://drupalcode.org/project/nodequeue.git/commit/66fb7fc

Status: Fixed » Closed (fixed)

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