Tuesday, August 6, 2013

rawurlencode() expects parameter 1 to be string, array given [CORE/Cake/Routing/Route/CakeRoute.php, line 503]

Hi,

I am making this requestAction call in my menu.ctp:

$menus = $this->requestAction(array(
'controller' => 'menus',
'action' => 'menus'
), array(
'pass' => array(
$menuList
)
));

I am getting the following warning on the page:  rawurlencode() expects parameter 1 to be string, array given [CORE/Cake/Routing/Route/CakeRoute.php, line 503]

I am using CakePHP 2.3.8.  Any idea what can be causing this?

Thanks in advance.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: