Hi!
I don't know why, but when I add an album to the favourites list I get the error message:
"Warning: Illegal string offset 'title' in /www/htdocs/.../zp-core/functions.php on line 463"
I use a my own ZenPage based Theme - but I tried the standard Themes (Garland, Default) and get the same error.
It only happens when I add Albums - Images work fine.
I tried to disable the Zenpage Plugin - didn't help.
So far I cannot think of anything else I could have modified...
Maybe somebody can help me with this issue?
Thanks in advance!
melbe
Comments
If you could use the `markRelease` plugin to set the install to debugging mode and re-run your tests it will produce a stack trace of the error in the debug log. Perhaps that will shed some light.
`
{22524:Sat, 26 Oct 2013 18:58:57 GMT} Zenphoto v1.4.5.1[b17846cb99ae70bb320f42aee855a0e68c1e85e4]
WARNING: Illegal string offset 'title' in /www/htdocs/.../zp-core/functions.php on line 463
sortByMultilingual called from sortByKey (functions.php [1276])
from favorites->getAlbums (favoritesHandler.php [192])
from printAddToFavorites (favoritesHandler.php [374])
from include (album.php [56])
from include (index.php [111])
from index.php [15]
{22524:Sat, 26 Oct 2013 18:58:57 GMT}
WARNING: Illegal string offset 'title' in /www/htdocs/.../zp-core/functions.php on line 463
sortByMultilingual called from sortByKey (functions.php [1276])
from favorites->getAlbums (favoritesHandler.php [192])
from printAddToFavorites (favoritesHandler.php [374])
from include (album.php [91])
from include (index.php [111])
from index.php [15]
{14991:Sat, 26 Oct 2013 18:59:05 GMT}
WARNING: Illegal string offset 'title' in /www/htdocs/.../zp-core/functions.php on line 463
sortByMultilingual called from sortByKey (functions.php [1276])
from favorites->getAlbums (favoritesHandler.php [192])
from printAddToFavorites (favoritesHandler.php [374])
from include (album.php [56])
from include (index.php [111])
from index.php [15]
{14991:Sat, 26 Oct 2013 18:59:05 GMT}
WARNING: Illegal string offset 'title' in /www/htdocs/.../zp-core/functions.php on line 463
sortByMultilingual called from sortByKey (functions.php [1276])
from favorites->getAlbums (favoritesHandler.php [192])
from printAddToFavorites (favoritesHandler.php [374])
from include (album.php [91])
from include (index.php [111])
from index.php [15]
`
Still strange though...Is there any chance to fix this? Or what could be the cause? Seems like I'm the only one encountering this problem?
Thank you for taking your time to help me!
The sorting did not give the correct sort at all. But the error would only occur on the Description and Title fields as those are multi-lingual fields and take a different path from the rest.
So maybe you were the only one using those fields and the favorites plugin. Still strange no one reported that the sort orders were wrong.
As soon as I get home from work I will check it and report back!