- Posts: 37
- Thank you received: 4
Updating to Joomla 4
3 years 2 months ago - 3 years 2 months ago #355274
by plaag666
Replied by plaag666 on topic Updating to Joomla 4
-- url of the page with the problem -- : -
-- HikaShop version -- : 5.0.0 essential
-- Joomla version -- : Joomla 4.3.4
-- PHP version -- : 8.1.23
-- Browser(s) name and version -- : Mozilla
Hello, I updated Joomla to version 4 today.
But when I go to a product page i get this error:
0 - Class 'JRequest' not found
Class 'JRequest' not found
Call stack
# Function Location
1 () JROOT/templates/--/html/com_hikashop/product/listing_table.php:67
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2894
4 hikashopView->loadTemplate() JROOT/components/com_hikashop/views/product/tmpl/listing.php:367
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
6 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2894
7 hikashopView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
8 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2848
9 hikashopView->display() JROOT/components/com_hikashop/views/product/view.html.php:29
10 ProductViewProduct->display() JROOT/libraries/src/MVC/Controller/BaseController.php:645
11 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2557
12 hikashopController->display() JROOT/components/com_hikashop/controllers/product.php:46
13 productController->listing() JROOT/libraries/src/MVC/Controller/BaseController.php:678
14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2535
15 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:88
16 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
17 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
18 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
20 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
21 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
22 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
23 require_once() JROOT/index.php:32
____________________________________________________________________________________________________
[Moderator :]
Please don't edit your posts long after you've posted them!
This disrupts our ticketing service and increases response times for everyone, including you.
Thank you for your attention!
-- HikaShop version -- : 5.0.0 essential
-- Joomla version -- : Joomla 4.3.4
-- PHP version -- : 8.1.23
-- Browser(s) name and version -- : Mozilla
Hello, I updated Joomla to version 4 today.
But when I go to a product page i get this error:
0 - Class 'JRequest' not found
Class 'JRequest' not found
Call stack
# Function Location
1 () JROOT/templates/--/html/com_hikashop/product/listing_table.php:67
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2894
4 hikashopView->loadTemplate() JROOT/components/com_hikashop/views/product/tmpl/listing.php:367
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
6 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2894
7 hikashopView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
8 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2848
9 hikashopView->display() JROOT/components/com_hikashop/views/product/view.html.php:29
10 ProductViewProduct->display() JROOT/libraries/src/MVC/Controller/BaseController.php:645
11 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2557
12 hikashopController->display() JROOT/components/com_hikashop/controllers/product.php:46
13 productController->listing() JROOT/libraries/src/MVC/Controller/BaseController.php:678
14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2535
15 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:88
16 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
17 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
18 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
20 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
21 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
22 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
23 require_once() JROOT/index.php:32
____________________________________________________________________________________________________
[Moderator :]
Please don't edit your posts long after you've posted them!
This disrupts our ticketing service and increases response times for everyone, including you.
Thank you for your attention!
Last edit: 3 years 2 months ago by plaag666.
Please Log in or Create an account to join the conversation.
3 years 2 months ago - 3 years 2 months ago #355275
by nicolas
Replied by nicolas on topic Updating to Joomla 4
Hi,
As the error message says the error comes from the file templates/designed2rock2023/html/com_hikashop/product/listing_table.php
this is not a file we have in HikaShop.
It's a view override file for HikaShop either created on your end or by your template provider.
The quick solution is to rename the file to something else like listing_table_old.php in order to deactivate the override.
Now, you'll loose the customization of that view file so you might want to redo the view override based on the latest version of the view file.
As the error message says the error comes from the file templates/designed2rock2023/html/com_hikashop/product/listing_table.php
this is not a file we have in HikaShop.
It's a view override file for HikaShop either created on your end or by your template provider.
The quick solution is to rename the file to something else like listing_table_old.php in order to deactivate the override.
Now, you'll loose the customization of that view file so you might want to redo the view override based on the latest version of the view file.
Last edit: 3 years 2 months ago by Philip.
The following user(s) said Thank You: plaag666
Please Log in or Create an account to join the conversation.
3 years 2 months ago #355295
by plaag666
Replied by plaag666 on topic Updating to Joomla 4
Thank you, it was a manual override by me.
Great support!
Great support!
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds