Invalid argument
taite11 - November 21, 2008 - 21:26
| Project: | Custom review |
| Version: | 6.x-1.0-alpha1 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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.

#1
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.
#2
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.
#3
Hi, Subscribing, will this be handled as patch?
greetings, Martijn