← Back to Multi-lingual SEO & Sitemap Support
The plugin works almost like a charm.
I have just a small issue. Whenever I add a blog category SEO entry, I get the following exception on the backoffice SEO page : Array to string conversion - ...\public\modules\backend\widgets\Lists.php line 1123.
The category page on the website is properly updated with the correct SEO datas though, but I can't access the CMS SEO list page anymore. Still trying to figure out what the issue could be...
Apparently, the event pages.menuitem.getTypeInfo returns a multidimensionnal array for the blog category item: {'title':'category title', items: []}, that makes evalTextTypeValue fail (it does an implode on the value, so it cannot accept a multidimensionnal array - hence the error received above). No idea what the items array should contain, it's always returned empty.
As a quick fix, I have added a control in the getModelTitleAttribute function of the Seo Model that check if the returned value is an array and extract the first item only if so. May not be optimal though, but it works for me, so I'm not digging deeper.
1-4 of 4