Looks like $menuList is an array but a string is expected.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 6 Aug 2013, at 15:58:54, Nicholas Amon <[email protected]> wrote:

> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to