-
Forum
-
Index
-
GMapFP
-
Bugs
-
Error saving template
Error saving template
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
2 weeks 1 day ago - 2 weeks 1 day ago #5422
by jof
When I try to save a template I get the following error:
Call to undefined method Joomla\Component\GMapFP\Administrator\Table\TemplateTable::getCurrentUser()
on line
JROOT/administrator/components/com_gmapfp/src/Table/TemplateTable.php:77
Last edit: 2 weeks 1 day ago by
jof.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 1933
-
Thank you received: 268
-
-
-
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
2 weeks 1 day ago #5424
by jof
Joomla 5.4.1
GmapFP version: 4.10.19. You modified the code when you solved my previous problem. See: Frontend form forum entry.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
2 weeks 23 hours ago #5425
by jof
It works if I replace
$userId = $this->getCurrentUser()->id;
with
$userId = Factory::getApplication()->getIdentity()->id;
in the check() function of the TemplateTable.php file
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 1933
-
Thank you received: 268
-
-
-
-
1 week 16 hours ago #5426
by gmapfp
I am currently working on a Joomla 6 compatible version, which includes a redesign of the itinerary management section to make it compatible with smartphones, and minor CSS improvements. This update will also address reported bugs.
The following user(s) said Thank You:
jof
Please Log in or Create an account to join the conversation.
-
Forum
-
Index
-
GMapFP
-
Bugs
-
Error saving template
Time to create page: 0.100 seconds