I don't know if this is an error because of my php 5.0.5 installation on my server, but I do not get the error with a php 5.2.6
I get a Only variables can be passed by reference - error for
$output = views_build_view('embed',
views_get_view(variable_get('taxonomy_menu_show_view_'. $vid, '')),
$arguments, FALSE, NULL);
}
I changed it to
$var = views_get_view(variable_get('taxonomy_menu_show_view_'. $vid, ''));
$output = views_build_view('embed',
$var,
$arguments, FALSE, NULL);
}
and the error is gone ....
Just wanted to mention.
Comments
Comment #1
radarino commentedHi,
a little error in your code, must be
("views" and not "view")
Thanks!
Antonio
Comment #2
arlinsandbulte commentedI am going to assume this is fixed as no one else has reported this lately.
Re-open if I am wrong.