Hey guys, I don’t know much about php programming. I ran across this error while trying to access the widgets in wordpress. Thanks for the help!
[php]function art_widget_expand_control($id)
{
global $wp_registered_widget_controls;
if (strpos($id, ‘art_vmenu’)!== false) return;
$controls = &$wp_registered_widget_controls[$id];
$controls[‘params’][0][‘id’]=$id; // this line here is giving the error
$controls[‘callback_redirect’]=$controls[‘callback’];
$controls[‘callback’]=‘widget_cache_extra_control’;
}
[/php]