[Skip to main content](#vessel-content)

#   Peculiar: problem Menu categories listing and Phoca Guestbook

##

- **[Udo](/forum/user/29928-udo "View Udo's Profile")**
- [![Udo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29928-udo "View Udo's Profile") Topic Author
- [ Offline](/forum/user/29928-udo)

Less More

- Posts: 220
- Thank you received: 8
-
-
-

3 years 4 months ago [\#353445](#353445) by [Udo](/forum/user/29928-udo "View Udo's Profile")  *[Peculiar: problem Menu categories listing and Phoca Guestbook](/forum/32-content-creation/906726-peculiar-problem-menu-categories-listing-and-phoca-guestbook#353445 "-- 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:  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")* was created by *[Udo](/forum/user/29928-udo "View Udo's Profile")*

-- 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:

Code:

0 Call to undefined method PhocaguestbookRouter::getCategories() Call stack # Function Location 1 () JROOT\components\com_phocaguestbook\router.php:70 2 PhocaguestbookRouter-&gt;getCategorySegment() JROOT\libraries\src\Component\Router\RouterView.php:118 3 Joomla\CMS\Component\Router\RouterView-&gt;getPath() JROOT\libraries\src\Component\Router\Rules\StandardRules.php:237 4 Joomla\CMS\Component\Router\Rules\StandardRules-&gt;build() JROOT\libraries\src\Component\Router\RouterView.php:229 5 Joomla\CMS\Component\Router\RouterView-&gt;build() JROOT\libraries\src\Router\SiteRouter.php:444 6 Joomla\CMS\Router\SiteRouter-&gt;buildSefRoute() JROOT\libraries\src\Router\Router.php:407 7 Joomla\CMS\Router\Router-&gt;processBuildRules() JROOT\libraries\src\Router\Router.php:194 8 Joomla\CMS\Router\Router-&gt;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-&gt;onAfterRender() JROOT\libraries\src\Plugin\CMSPlugin.php:284 12 Joomla\CMS\Plugin\CMSPlugin-&gt;Joomla\CMS\Plugin\{closure}() JROOT\libraries\vendor\joomla\event\src\Dispatcher.php:486 13 Joomla\Event\Dispatcher-&gt;dispatch() JROOT\libraries\src\Application\EventAware.php:111 14 Joomla\CMS\Application\WebApplication-&gt;triggerEvent() JROOT\libraries\src\Application\CMSApplication.php:1031 15 Joomla\CMS\Application\CMSApplication-&gt;render() JROOT\libraries\src\Application\SiteApplication.php:724 16 Joomla\CMS\Application\SiteApplication-&gt;render() JROOT\libraries\src\Application\CMSApplication.php:298 17 Joomla\CMS\Application\CMSApplication-&gt;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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTA2NzI2LXBlY3VsaWFyLXByb2JsZW0tbWVudS1jYXRlZ29yaWVzLWxpc3RpbmctYW5kLXBob2NhLWd1ZXN0Ym9vaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

3 years 4 months ago [\#353446](#353446) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Peculiar: problem Menu categories listing and Phoca Guestbook](/forum/32-content-creation/906726-peculiar-problem-menu-categories-listing-and-phoca-guestbook#353446 "-- 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:  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")*

Hi,

Maybe you have a module from Phoca which requires creating a URL or something displayed on the page.
The error is in the router of Phocaguestbook and it looks like a bug in that router, so you'll have to check with the developers of Phoca.

The following user(s) said Thank You: [Udo](/forum/user/29928-udo "View Udo's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTA2NzI2LXBlY3VsaWFyLXByb2JsZW0tbWVudS1jYXRlZ29yaWVzLWxpc3RpbmctYW5kLXBob2NhLWd1ZXN0Ym9vaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Udo](/forum/user/29928-udo "View Udo's Profile")**
- [![Udo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29928-udo "View Udo's Profile") Topic Author
- [ Offline](/forum/user/29928-udo)

Less More

- Posts: 220
- Thank you received: 8
-
-
-

3 years 4 months ago [\#353485](#353485) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[Peculiar: problem Menu categories listing and Phoca Guestbook](/forum/32-content-creation/906726-peculiar-problem-menu-categories-listing-and-phoca-guestbook#353485 "-- 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:  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")*

Thanks, Nicolas.
Your suggestion to look for a module on the page led me to the solution.
I realized that 2 modules are loaded in the category description, and there's a link to the guestbook in this description.
That link turned out to be the cause. This link was not updated after the Joomla 4 upgrade of Phoca Guestbook.

As so often the solution of a problem is simple if you know were to look at...

Surprising that the mere existence of the wrong link caused a white page, without even activating it.

Thanks,
Udo

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTA2NzI2LXBlY3VsaWFyLXByb2JsZW0tbWVudS1jYXRlZ29yaWVzLWxpc3RpbmctYW5kLXBob2NhLWd1ZXN0Ym9vaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

3 years 4 months ago [\#353492](#353492) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Peculiar: problem Menu categories listing and Phoca Guestbook](/forum/32-content-creation/906726-peculiar-problem-menu-categories-listing-and-phoca-guestbook#353492 "-- 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:  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")*

Hi,

That's probably because the URL you added there is not SEFed and you've activated the setting of the Joomla SEF plugin to parse the HTML of the pages to automatically SEF URLs that are not SEFed. And in that case, the Joomla router will ask the corresponding extension for the SEFed version of the URL.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTA2NzI2LXBlY3VsaWFyLXByb2JsZW0tbWVudS1jYXRlZ29yaWVzLWxpc3RpbmctYW5kLXBob2NhLWd1ZXN0Ym9vaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Udo](/forum/user/29928-udo "View Udo's Profile")**
- [![Udo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29928-udo "View Udo's Profile") Topic Author
- [ Offline](/forum/user/29928-udo)

Less More

- Posts: 220
- Thank you received: 8
-
-
-

3 years 4 months ago [\#353512](#353512) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[Peculiar: problem Menu categories listing and Phoca Guestbook](/forum/32-content-creation/906726-peculiar-problem-menu-categories-listing-and-phoca-guestbook#353512 "-- 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:  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")*

You're right, that link was non-SEF.
I didnot realize that this would have that effect.

Thanks for the information.

Udo

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTA2NzI2LXBlY3VsaWFyLXByb2JsZW0tbWVudS1jYXRlZ29yaWVzLWxpc3RpbmctYW5kLXBob2NhLWd1ZXN0Ym9vaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.063 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
