Trying to get property 'short_code' of non-object
rochdi80tn opened this issue · 1 comments
rochdi80tn commented
Seems that when a NavItem langugae is deleted, the $navItem->lang
object is null. So accessing the short_code
attributes gives an error.
rochdi80tn commented
Sorry.. missed your module with https://github.com/cebe/luya-module-sitemap that actually uses yours..