I've got error when using url_for helper (symfony 1.4.6) it was when i doing "Day 14" from "Practical symfony"
So, problem was in lib/helper/UrlHelper.php line 81 $params = array_merge(array('sf_route' => $routeName), is_object($params) ? array('sf_subject' => $params) : $params); for solving a problem i change it to: $params = array_merge(array('sf_route' => $routeName), is_object($params) ? array('sf_subject' => $params) : (array) $params); i think it make sense to fixing this in main branch. P.S. http://php.net/manual/en/function.array-merge.php Warning The behavior of array_merge() was modified in PHP 5. Unlike PHP 4, array_merge() now only accepts parameters of type array . However, you can use typecasting to merge other types. See the example below for details. P.P.S. sorry for my Eng.. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en