$smarty->assign_by_ref('global_plugin_menu', $dummy = null);
Showing this error when i try to run above line:
Only variables should be passed by reference
$smarty->assign_by_ref('global_plugin_menu', $dummy = null);
Showing this error when i try to run above line:
Only variables should be passed by reference
Not sure why you need to do this, but:
$dummy = null;
$smarty->assign_by_ref('global_plugin_menu', $dummy);