After enabling Custom_review, it shows the error "warning: Invalid argument supplied for foreach() in /home/.../public_html/includes/menu.inc on line 258" in the red box.

It also shows this error 3 times on the Custom Review site configuration page.

The error disappears after I disable Custom Review and run cron.

Comments

Anonymous’s picture

Has any progress been made to fix this error?

It looks like using Custom_review would be a whole lot easier than following the instructions on other threads, so fingers crossed the/a dev can give it the once over.

roadrunner-2’s picture

I have had the same problem and have found a fix.

In custom_review.module change line 41 from:

      'access arguments' => user_access('administer custom review')

to the following two lines:

      'access callback' => 'user_access',
      'access arguments' => array('administer custom review')

Afterwards the warning does not appear any longer on my system.

summit’s picture

Hi, Subscribing, will this be handled as patch?
greetings, Martijn

nor4a’s picture

Status: Active » Fixed

Fixed with the latest release

Status: Fixed » Closed (fixed)

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

arski’s picture

do you mind sharing the latest -dev release on the site please so that we could grab a fixed up version.

arski’s picture

-duplicate, sorry