10 years ago
1
Topic

There is a bug in Seblod that occurs when you empty the trash of your articles. Line 152 of plugins\cck_storage_location\joomla_article\joomla_article.php had this issue where if you no longer have that article, it will throw errors saying the author is not there; although, there is no article at that ID.


In line 104, it should probably be "if (array_key_exists('translate_id', $config)". Same thing in line 112.


I created a module for my list and put it on the Content side of Seblod. When I do $cck->get('sidebar_nav')->value, it gives me this set of errors (once per item in the Count):


Notice: Undefined index: translate_id in [HIDDEN]\plugins\cck_storage_location\joomla_article\joomla_article.php on line 104
Notice: Undefined index: custom in [HIDDEN]\plugins\cck_storage_location\joomla_article\joomla_article.php on line 112
Notice: Undefined offset: 70 in [HIDDEN]\plugins\cck_storage_location\joomla_article\joomla_article.php on line 152
Notice: Trying to get property of non-object in [HIDDEN]\plugins\cck_storage_location\joomla_article\joomla_article.php on line 152
Notice: Undefined offset: 70 in [HIDDEN]\plugins\cck_storage_location\joomla_article\joomla_article.php on line 152
Notice: Trying to get property of non-object in [HIDDEN]\plugins\cck_storage_location\joomla_article\joomla_article.php on line 152
Notice: Undefined offset: 70 in [HIDDEN]\plugins\cck_storage_location\joomla_article\joomla_article.php on line 152
Notice: Trying to get property of non-object in [HIDDEN]\plugins\cck_storage_location\joomla_article\joomla_article.php on line 152


Before I created this module slot, I had just a menu item showing the list and there wasn't an error. Now there is an error on both the page and in this module slot.


Anyone know what might cause these errors?

Get a VIP membership
10 years ago
0
Level 1

It seems to be happening for article IDs that do not exist.

Get a VIP membership