![]() |
|
Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 (/thread-11434.html) |
Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 - melbe - 2013-10-26 Hi! I use a my own ZenPage based Theme - but I tried the standard Themes (Garland, Default) and get the same error. So far I cannot think of anything else I could have modified... Maybe somebody can help me with this issue? Thanks in advance! Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 - sbillard - 2013-10-26 This is some kind of failure with sorting results of a query. It is not at all obvious how it could happen, though. If you could use the Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 - melbe - 2013-10-26 Thank you! I hope I did the right thing, I activated the plug-in, clicked a few times and then checked the debug log. This is the output after clicking "Remove favorite" and "Add favorite" several times: ` 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] Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 - sbillard - 2013-10-26 Thanks, this is what I was looking for. Still analyzing, though. Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 - sbillard - 2013-10-26 Seems a problem with album sorting. Does not work, and will give this failure if the field is either "desc" or "title". For now you need to select some other field. Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 - melbe - 2013-10-27 Thank you very much!! I just switched to "Sort gallery by: date" now it works!! Thank you for taking your time to help me! Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 - acrylian - 2013-10-27 Of course this will be fixed as my colleague confirmed it. Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 - sbillard - 2013-10-27 It is actually now fixed in the support build. We would appreciate your trying that and confirming the fix. 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. Adding Album to Favs-Illegal string offset 'title' in functions.php on line 463 - melbe - 2013-10-28 Wow, thank you for fixing the issue so fast! |