Class "JDispatcher" not found

  • Posts: 6
  • Thank you received: 0
  • Hikashop Essential
9 months 3 weeks ago #358563

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4.4
-- PHP version -- : 8.1.27
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- : The requested page can't be found.

on checkout get to hitting "finish" button then get error page : the requested page could not be found with error

0 Class "JDispatcher" not found

Call stack
# Function Location
1 () JROOT/media/com_hikashop/mail/order_creation_notification.preload.modified.php:438

code at this point is

JPluginHelper::importPlugin('hikashop');
$dispatcher = JDispatcher::getInstance();
$dispatcher->trigger('onAfterOrderProductsListingDisplay', array(&$data->cart, 'email_notification_html'));

please could you advise of a solution

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 months 3 weeks ago #358568

Hi,

The file /media/com_hikashop/mail/order_creation_notification.preload.modified.php is an override you made for the preload of the order creation notification email via the menu System>Emails.
This error indicates that this override is based on an old version of HikaShop.
Rename that file via FTP in order to disable the override and you won't get the error anymore.
Then, you can redo the override based on the latest version of the preload in order to add back your modifications.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum