Hi, This is my first post, so first things first, Hello.
I'm not sure if this is a bug or not, but I was not sure where else to put it. With php error display on I am getting the following errors when viewing an item, or a category list.
Warning: explode() expects parameter 2 to be string, array given in /home/mark/WebSites/pech/components/com_k2/helpers/route.php on line 73 Warning: Invalid argument supplied for foreach() in /home/mark/WebSites/pech/components/com_k2/helpers/route.php on line 74
And when logged in and clicking on My Page, i get a 404 and the same error message.
lines 73 and 74 of route.php are:
73. $items = explode(',', $params->get('SEFReplacements'));
74. foreach ($items as $item) {
I added in print_r($params->get('SEFReplacements')); to have a look at what the array was to try and get an idea of what the problem was. The data in the array doesn't seems to be strings, for example: [0] => Š[1] => S, Œ [2] => O, Ž .
I'm running this development environment on a LAMP server installed on Ubuntu 10.04 desktop.
I've had a search here and on google and cannot find any other instances of this, so I am thinking it must be a problem with my server config or something. I've attached and html file of my phpinfo() so hopefully someone will be able to point me in the right direction.
Thanks in advance...
I'm not sure if this is a bug or not, but I was not sure where else to put it. With php error display on I am getting the following errors when viewing an item, or a category list.
Warning: explode() expects parameter 2 to be string, array given in /home/mark/WebSites/pech/components/com_k2/helpers/route.php on line 73 Warning: Invalid argument supplied for foreach() in /home/mark/WebSites/pech/components/com_k2/helpers/route.php on line 74
And when logged in and clicking on My Page, i get a 404 and the same error message.
lines 73 and 74 of route.php are:
73. $items = explode(',', $params->get('SEFReplacements'));
74. foreach ($items as $item) {
I added in print_r($params->get('SEFReplacements')); to have a look at what the array was to try and get an idea of what the problem was. The data in the array doesn't seems to be strings, for example: [0] => Š[1] => S, Œ [2] => O, Ž .
I'm running this development environment on a LAMP server installed on Ubuntu 10.04 desktop.
I've had a search here and on google and cannot find any other instances of this, so I am thinking it must be a problem with my server config or something. I've attached and html file of my phpinfo() so hopefully someone will be able to point me in the right direction.
Thanks in advance...