jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: ColinM on 07.02.2023 14:30:00

Title: Multilingual Report a Download Fails - [Fixed in 4.0.17]
Post by: ColinM on 07.02.2023 14:30:00
When using the report a download in jD4.0.15  it gives the following error

f difficulties persist, please contact the website administrator and report the error below.

    0 Class "JDownloads\Component\JDownloads\Site\Model\Text" not found

Call stack
#    Function    Location
1    ()    JROOT\components\com_jdownloads\src\Model\ReportModel.php:166
2    JDownloads\Component\JDownloads\Site\Model\ReportModel->send()    JROOT\components\com_jdownloads\src\Controller\ReportController.php:82
3    JDownloads\Component\JDownloads\Site\Controller\ReportController->send()    JROOT\libraries\src\MVC\Controller\BaseController.php:672
4    Joomla\CMS\MVC\Controller\BaseController->execute()    JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:143
5    Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()    JROOT\components\com_jdownloads\src\Dispatcher\Dispatcher.php:55
6    JDownloads\Component\JDownloads\Site\Dispatcher\Dispatcher->dispatch() JROOT\libraries\src\Component\ComponentHelper.php:355
7    Joomla\CMS\Component\ComponentHelper::renderComponent()    JROOT\libraries\src\Application\SiteApplication.php:200
8    Joomla\CMS\Application\SiteApplication->dispatch()    JROOT\libraries\src\Application\SiteApplication.php:241
9    Joomla\CMS\Application\SiteApplication->doExecute()    JROOT\libraries\src\Application\CMSApplication.php:294
10    Joomla\CMS\Application\CMSApplication->execute()    JROOT\includes\app.php:61
11    require_once()                                                           JROOT\index.php:32
Title: Re: Multilingual Report a Download Fails - [Fixed in 4.0.17]
Post by: Arno on 08.02.2023 22:32:51
Okay, I think I could fix it with 4.0.17.
Should be published tomorrow.

By the way, this was an error that did not only occur with multilingual websites.

Interests user can test the attached file (the unzipped file ReportModel.php must be copied to FRONTEND/components/com_jdownloads/src/Model/)