Hi if i declare a function in the setup code and then use the view with this field inside another view with the Views field view module then i geht the error

Fatal error: Cannot redeclare myfunction() (previously declared in ...\sites\all\modules\views_php\plugins\views\views_php_handler_field.inc(117) : runtime-created function:1) in ...\sites\all\modules\views_php\plugins\views\views_php_handler_field.inc(117) : runtime-created function on line 1

There seems to be an namespace conflict with the runtim-created function that redeclared themself in this case.

Comments

Hi,

Did you find any solution for this..I am also getting the same error when i declare a function in Output code.