Closed (duplicate)
Project:
Actions
Version:
5.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2008 at 18:59 UTC
Updated:
21 Apr 2009 at 20:47 UTC
You get a php error on php5 with 5.x-2.3
line 769: Illegal argument to foreach
simple fix, wrap foreach in an if:
if (is_array($ops))
{
foreach ($ops as $op => $description) {
$forms['actions_'. $hook .'_'. $op .'_assign_form'] = array ( 'callback' => 'actions_assign_form' );
}
}
Comments
Comment #1
jvandyk commentedhttp://drupal.org/node/236908
Comment #2
jefkin commentedThis is probably already reported, but I'd didn't spot it.
Conflicts exist between devel_themer in the Devel module(which appears to includes a few versioned jquery ui files) and the Jquery_ui module, which allows a site to use specific (often newer) versions of the jquery_ui.
I propose that devel_themer ads some small logic on the order of:
My option has been to expect my jquery ui stuff to fail whil I have the themer turned on.
Thanks for your consideration.
Comment #3
jefkin commentedSorry, ignore above this, I pasted in the wrong box