Hello all,
since the last update we get the following error message:
Warning: Undefined array key 138 in D:\xampp\htdocs\**\components\com_jdownloads\src\Helper\LegacyRouter.php on line 162
Warning: Trying to access array offset on value of type null in D:\xampp\htdocs\**\components\com_jdownloads\src\Helper\LegacyRouter.php on line 162
Does anyone have a similar problem or have an idea what to do about it?
Thanks for your efforts
Hi
Think this is to do with the Content Plugin used in a jD Download or Category Description. Tested with jD4.0.34
See
https://www.jdownloads.com/forum/index.php?topic=14083.0Colin
Hi Colin,
thank you very much for the quick feedback. After I deleted all categories and downloads the error disappeared. However, as soon as I create a new category and call up the category overview via the menu, the error message appears again.
LegacyRouter.php Line 159-163
if (isset($query['catid'])) {
if (strpos($query['catid'], ':') === false) {
$cat_id = (int) $query['catid'];
$query['catid'] = $query['catid'].':'.$this->all_cat_aliases[$cat_id]['alias'];
}
Hi,
okay, will be fixed in next release. Coming soon
Hi,
please try the fix in the attached file.
Copy the unzipped file to /components/com_jdownloads/tmpl/categories/ and overwrite the old file.
Hi Arno, that worked. Many thanks