-- HikaShop version -- : 4.7.4
-- Joomla version -- : 4.3.3
-- PHP version -- : 8.0.25
-- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method PhocaguestbookRouter::getCategories()
Hi,
I have an peculiar problem after upgrading Joomla 3.10 to Joomla 4.3.2
The website also has a menu Phoca Guestbook. Clicking the Hikashop menu Categories listing results in a white page with this error:
0 Call to undefined method PhocaguestbookRouter::getCategories()
Call stack
# Function Location
1 () JROOT\components\com_phocaguestbook\router.php:70
2 PhocaguestbookRouter->getCategorySegment() JROOT\libraries\src\Component\Router\RouterView.php:118
3 Joomla\CMS\Component\Router\RouterView->getPath() JROOT\libraries\src\Component\Router\Rules\StandardRules.php:237
4 Joomla\CMS\Component\Router\Rules\StandardRules->build() JROOT\libraries\src\Component\Router\RouterView.php:229
5 Joomla\CMS\Component\Router\RouterView->build() JROOT\libraries\src\Router\SiteRouter.php:444
6 Joomla\CMS\Router\SiteRouter->buildSefRoute() JROOT\libraries\src\Router\Router.php:407
7 Joomla\CMS\Router\Router->processBuildRules() JROOT\libraries\src\Router\Router.php:194
8 Joomla\CMS\Router\Router->build() JROOT\libraries\src\Router\Route.php:150
9 Joomla\CMS\Router\Route::link() JROOT\libraries\src\Router\Route.php:99
10 Joomla\CMS\Router\Route::_() JROOT\plugins\system\sef\sef.php:108
11 PlgSystemSef->onAfterRender() JROOT\libraries\src\Plugin\CMSPlugin.php:284
12 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT\libraries\vendor\joomla\event\src\Dispatcher.php:486
13 Joomla\Event\Dispatcher->dispatch() JROOT\libraries\src\Application\EventAware.php:111
14 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT\libraries\src\Application\CMSApplication.php:1031
15 Joomla\CMS\Application\CMSApplication->render() JROOT\libraries\src\Application\SiteApplication.php:724
16 Joomla\CMS\Application\SiteApplication->render() JROOT\libraries\src\Application\CMSApplication.php:298
17 Joomla\CMS\Application\CMSApplication->execute() JROOT\includes\app.php:61
18 require_once() JROOT\index.php:32
I can't understand why the guestbook is called when opening the Hikashop menu.
The main category in the Hikashop menu is the parent of all subcategories. Remarkable: when selecting as main category one of the subcategories the problem is gone.!
Somehow only the parent category is triggering the guestbook.
The problem is gone after disabling SEF urls in the Global configuration.
The problem is also gone after disabling the guestbook.
Changing the template makes no difference
Please advise.
Udo