jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: ColinM on 05.12.2022 15:12:06

Title: MultiLang Tests - [Fixed in later releases]
Post by: ColinM on 05.12.2022 15:12:06
Update from a multilingual site - updated to jD 4.0.5 -all went well
And existing associations were preserved

Found following Language Site Challenges
1. In Front End Options if you set Multilanguale Associations 'Show Associations' to Yes we get Error message
Class "JDownloads\Component\JDownloads\Site\Model\JDownloadsHelperAssociation" not found

2. Multilingual Associations  button Select Category  does not show list of categories.  Also does not show Category

3.  Cannot get jD Modules to show

Colin
Title: Re: MultiLang Tests
Post by: Arno on 07.12.2022 16:30:10
Hi Colin,
this part is currently still in progress. 
And I hope to have it ready by the weekend, at least for testing. ;)
Title: Re: MultiLang Tests
Post by: ColinM on 08.12.2022 13:29:55
Arno
Just thought it useful to advise of items as  they are known - maybe they are correctable easily :) but not expecting solution yet.
Presently have
Warning: Undefined variable $item in C:\xampp\htdocs\jdx48\components\com_jdownloads\src\Helper\RouteHelper.php on line 204

Warning: Undefined variable $item in C:\xampp\htdocs\jdx48\components\com_jdownloads\src\Helper\RouteHelper.php on line 113
-----------------------------------------------------------------------------
I have Error Reporting set to Maximum and Debug System set to Yes

Also when I use menu item 'List all Downloads' or 'List all Categories' (these are the only  menu items I have created so far) I get

"count(): Argument #1 ($value) must be of type Countable|array, bool given "
Debug output is in attached file.  It indicates location
JROOT\components\com_jdownloads\src\Model\CategoriesModel.php:241

Presently it has on line 42: private $_items = null;

Thought this may need to be: private $_items = array();  but that did not work :(
Colin