0 - Class 'Joomla\CMS\Uri\Uri' not found
Posted: 05 Feb 2019, 16:47
Updated to the newest Phoca Download version 3.1.7 (from a really old version created a couple of years ago). When a page with Phoca Download download is opened, it shows an error:
Warning: Invalid argument supplied for foreach() in /data/www/horackova.cz/www.horackova.cz/templates/zshorackova/ ... efault.php on line 23
When old template default.php is disabled the page with Phoca Download categories is displayed correctly, but when clicking on category name, the following error is generated:
---------------------------------------------
Class 'Joomla\CMS\Uri\Uri' not found
Call stack
# Function Location
1 () JROOT/components/com_phocadownload/views/category/view.html.php:26
2 PhocaDownloadViewCategory->display() JROOT/libraries/legacy/controller/legacy.php:671
3 JControllerLegacy->display() JROOT/components/com_phocadownload/controller.php:34
4 PhocaDownloadController->display() JROOT/libraries/legacy/controller/legacy.php:709
5 JControllerLegacy->execute() JROOT/components/com_phocadownload/phocadownload.php:56
6 require_once() JROOT/libraries/cms/component/helper.php:389
7 JComponentHelper::executeComponent() JROOT/libraries/cms/component/helper.php:364
8 JComponentHelper::renderComponent() JROOT/libraries/cms/application/site.php:191
9 JApplicationSite->dispatch() JROOT/libraries/cms/application/site.php:230
10 JApplicationSite->doExecute() JROOT/libraries/cms/application/cms.php:265
11 JApplicationCms->execute() JROOT/index.php:49
---------------------------------------------
Is it possible to solve the issue easily for Joomla 3.7.5 - without updating Joomla CMS itself (because of many other components dependencies)? Can you please direct me the right way?
Warning: Invalid argument supplied for foreach() in /data/www/horackova.cz/www.horackova.cz/templates/zshorackova/ ... efault.php on line 23
When old template default.php is disabled the page with Phoca Download categories is displayed correctly, but when clicking on category name, the following error is generated:
---------------------------------------------
Class 'Joomla\CMS\Uri\Uri' not found
Call stack
# Function Location
1 () JROOT/components/com_phocadownload/views/category/view.html.php:26
2 PhocaDownloadViewCategory->display() JROOT/libraries/legacy/controller/legacy.php:671
3 JControllerLegacy->display() JROOT/components/com_phocadownload/controller.php:34
4 PhocaDownloadController->display() JROOT/libraries/legacy/controller/legacy.php:709
5 JControllerLegacy->execute() JROOT/components/com_phocadownload/phocadownload.php:56
6 require_once() JROOT/libraries/cms/component/helper.php:389
7 JComponentHelper::executeComponent() JROOT/libraries/cms/component/helper.php:364
8 JComponentHelper::renderComponent() JROOT/libraries/cms/application/site.php:191
9 JApplicationSite->dispatch() JROOT/libraries/cms/application/site.php:230
10 JApplicationSite->doExecute() JROOT/libraries/cms/application/cms.php:265
11 JApplicationCms->execute() JROOT/index.php:49
---------------------------------------------
Is it possible to solve the issue easily for Joomla 3.7.5 - without updating Joomla CMS itself (because of many other components dependencies)? Can you please direct me the right way?