Elxis CMS Forum
Support => General => Topic started by: xmanhattan on July 01, 2009, 15:57:04
-
Hello all,
I just had the time to update my site to the latest version 2009. That works but after that I removed the old sitemap as per a previous forum topic, deleted the top menu item, cleaned up and then added the top menu item again.
After I called the sitemap, I am seeing this:
URI: index.php?option=com_sitemap&task=sitemap&Itemid=202
Path: /administrator/components/com_sitemap/extensions/stargallery.sitemap.php
Line: 61
Attempt to assign property of non-object
Please let me know what might be the solution when you can.
Thank you.
-
You have a problem with stargallery SEO extension or the stargallery itself, not with sitemap component. What is the line 61 in administrator/components/com_sitemap/extensions/stargallery.sitemap.php?
-
My mistake, sorry.
Open file:
/administrator/components/com_sitemap/extensions/stargallery.sitemap.php
Go to line 61
Change this:
if ($row->cat_parent == 0) { $row->cat_parent = ''; }
to this:
if ($row['cat_parent'] == 0) { $row['cat_parent'] = ''; }
I will fix it and update the file on EDC now. Thanks for the bug report.
Note: Star Gallery is deprecated. Use IOS Gallery instead.
-
Works great, Thank you