Page 1 of 1

When I try to delete a message from the front end, I get an error message

Posted: 12 Oct 2026, 09:29
by Leen2019
I am using Joomla 6.1.4 with Guestbook version 6.1.1.
When I try to delete a message from the front end, I get an error message; however, it works fine if I disable "Search Engine Friendly URLs" and "Use URL rewriting."
Any idea where I can fix this?

Mogelijk kan deze pagina niet bezocht worden omdat:

een verouderde bladwijzer/favoriet
een zoekmachine heeft een verouderde lijst van deze website
een fout getypt adres
er is geen toegang tot deze pagina
De gegeven bron is niet gevonden.
Er is een fout opgetreden tijdens het verwerken van het verzoek.

Probeer één van de volgende pagina's:

Startpagina

Als de problemen blijven bestaan, neem dan aub contact op met de beheerder van de website en rapporteer onderstaande fout.

Call to undefined method PhocaguestbookRouter::getCategories()
C:\wamp64\www\testleen\components\com_phocaguestbook\router.php:70
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:450
6 Joomla\CMS\Router\SiteRouter->buildSefRoute() JROOT\libraries\src\Router\Router.php:446
7 Joomla\CMS\Router\Router->processBuildRules() JROOT\libraries\src\Router\Router.php:205
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\libraries\src\Pagination\Pagination.php:743
11 Joomla\CMS\Pagination\Pagination->_buildDataObject() JROOT\libraries\src\Pagination\Pagination.php:371
12 Joomla\CMS\Pagination\Pagination->getPagesLinks() JROOT\components\com_phocaguestbook\views\guestbook\tmpl\default_posts.php:82
13 include() JROOT\libraries\src\MVC\View\HtmlView.php:423
14 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT\components\com_phocaguestbook\views\guestbook\tmpl\default.php:101
15 include() JROOT\libraries\src\MVC\View\HtmlView.php:423
16 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT\libraries\src\MVC\View\HtmlView.php:204
17 Joomla\CMS\MVC\View\HtmlView->display() JROOT\components\com_phocaguestbook\views\guestbook\view.html.php:288
18 PhocaguestbookViewGuestbook->display() JROOT\libraries\src\MVC\Controller\BaseController.php:697
19 Joomla\CMS\MVC\Controller\BaseController->display() JROOT\libraries\src\MVC\Controller\BaseController.php:730
20 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\components\com_phocaguestbook\phocaguestbook.php:20
21 require_once() JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:71
22 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::{closure:Joomla\CMS\Dispatcher\LegacyComponentDispatcher::dispatch():70}()
[/code]

Re: When I try to delete a message from the front end, I get an error message

Posted: 12 Oct 2026, 16:28
by Benno
Hi,
As you can see from the images, as a Super User in the frontend—using the latest version of Joomla, the Cassiopeia template, and the latest version of Phoca Guestbook—I can delete a registered user's entry using the trash bin icon without receiving any error message.
So, if the error persists, please describe in more detail—and include screenshots if possible—where and how the error occurs.

1.) Image

2.) Image

SEO-Settings:
Image

Kind regards,
Benno

Re: When I try to delete a message from the front end, I get an error message

Posted: 12 Oct 2026, 16:40
by Leen2019
Yes, if I do it like your images,
in my case, that error message appears on the front end.

I will test it again in a different domain environment and then I will get back to you.
Update
I have the same problem in another domain as well.

Re: When I try to delete a message from the front end, I get an error message

Posted: 13 Oct 2026, 08:32
by Leen2019
I tested this a few more times on different sites, but the problem persists when SEF is enabled.
My host is Vimexx; perhaps that plays a role.
I looked for a solution with the help of ChatGPT.
And with these adjustments (see the comparison images) in
`website\components\com_phocaguestbook\router.php`
it now works without errors.


https://imgur.com/a/16aCF1D

Re: When I try to delete a message from the front end, I get an error message

Posted: 14 Oct 2026, 00:20
by Jan
Hi, thank you for the info, confirmed, seems like something changed in Joomla again. It will be changed in new version.

Jan