J3->J4 Migration: 500 Layout listing_blog not found.

  • Posts: 116
  • Thank you received: 7
  • Hikashop Business
1 year 2 months ago #354631

-- url of the page with the problem -- : actnowracing.com/mm4/index.php?option=co...egory&layout=listing
-- HikaShop version -- : 4.7.5
-- Joomla version -- : 4.3.3
-- PHP version -- : 8.0
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : 500 Layout listing_blog not found.

After migrating and enabling all of the plugins for Hikashop and connected apps (JEvents/RSVP, AcyMailing), we can't display even the default product listing. We have some overrides located in .../html/com_hikashop, but even disabling that we keep getting this error.

I don't know where the "listing_blog" is being reference from. I've searched the database and the original site and nothing comes up with this.

Can someone help me find out where to troubleshoot this further?

Thanks!

500 Layout listing_blog not found.
Call stack
# Function Location
1 () JROOT/libraries/src/MVC/View/HtmlView.php:420
2 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2789
3 hikashopView->loadTemplate() JROOT/components/com_hikashop/views/category/tmpl/listing.php:118
4 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
5 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2789
6 hikashopView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
7 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2744
8 hikashopView->display() JROOT/components/com_hikashop/views/category/view.html.php:26
9 CategoryViewCategory->display() JROOT/libraries/src/MVC/Controller/BaseController.php:645
10 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2463
11 hikashopController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2172
12 hikashopController->listing() JROOT/libraries/src/MVC/Controller/BaseController.php:678
13 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2441
14 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:88
15 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
16 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
17 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
18 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
19 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
20 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
21 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
22 require_once() JROOT/index.php:32

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 2 months ago #354634

Hi,

This indicates that in the past, you had created a view file override for a new layout "listing_blog" for categories listings and had selected it in menu item's "Categories options" tab in the joomla menu manager, but that layout isn't found any more in your frontend Joomla template.
So you have two solutions:
- edit your categories listing menu items via the joomla menu manager, and change the item layout to something else, like the default "image and title" layout and save each one.
- get the file templates/YOUR_TEMPLATE/html/com_hikashop/category/listing_blog.php from your old website and copy it to the same place for your Joomla 4 template on your new website at the same place.

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum