Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Closed Public Category: Technical Support / Bugs Ticket #685

Error when calling up the wishlist view menu item

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Conversation

Peter Reill

When calling up the menu item, the following error appears: 0 Class “J2Commerce\Helper\J2StoreRouterHelper” not found

 

Call Stack #FunctionLocation 1 () JROOT/plugins/j2store/app_wishlist/app_wishlist/tmpl/wishlist.php:117 2 include() JROOT/administrator/components/com_j2store/library/plugins/_base.php:112 3 J2StorePluginBase->_getLayout() JROOT/plugins/j2store/app_wishlist/app_wishlist.php:242 4 plgJ2StoreApp_wishlist->onJ2StoreWishlistProductHtml() JROOT/libraries/src/Plugin/CMSPlugin.php:320 5 Joomla\CMS\Plugin\CMSPlugin->{closure:Joomla\CMS\Plugin\CMSPlugin::registerLegacyListener():304}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454 6 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111 7 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/administrator/components/com_j2store/helpers/platform.php:387 8 J2StorePlatform->eventTrigger() JROOT/administrator/components/com_j2store/helpers/plugin.php:233 9 J2Plugins->eventWithHtml() JROOT/components/com_j2store/views/products/tmpl/wishlist.php:11 10 include() JROOT/libraries/f0f/view/view.php:442 11 F0FView->loadAnyTemplate() JROOT/libraries/f0f/view/view.php:843 12 F0FView->loadTemplate() JROOT/libraries/f0f/view/view.php:474 13 F0FView->display() JROOT/libraries/f0f/view/raw.php:128 14 F0FViewRaw->display() JROOT/components/com_j2store/controllers/products.php:874 15 J2StoreControllerProducts->wishlist() JROOT/libraries/f0f/controller/controller.php:967 16 F0FController->execute() JROOT/libraries/f0f/dispatcher/dispatcher.php:330 17 F0FDispatcher->dispatch() JROOT/components/com_j2store/j2store.php:25 18 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 19 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::{closure:Joomla\CMS\Dispatcher\LegacyComponentDispatcher::dispatch():70}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 20 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361 21 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:217 22 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:271 23 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:304 24 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58 25 require_once() JROOT/index.php:51
Olivier Buisard Staff

Hi Peter, 

do you use an override for the wishlist? It looks like it is searching for a namesapce that does not exist in J2Commerce.

Olivier.

Peter Reill

Hi Olivier,

we are using a fresh installed wishlist app without any overrides:

Wishlist Plugin 4.0.3
Wishlist Module 4.0.1

 

 

Olivier Buisard Staff

Thanks Peter,

it turns out this issue was corrected internally but not released.

Please find the update attached, which should fix the issue. I am doing some more testing for another client, hence the hold on the release.

Unzip the file first and install the included zip as usual.

Attachments

plg_j2store_app_wishlist-UNZIPFIRST.zip

Olivier.

Peter Reill

Great, thank you very much, everything is working fine.