-
Forum
-
GMapFP
-
Bugs
-
Error saving template
Error saving template
Réduire
Plus d'informations
-
Messages : 6
-
Remerciements reçus 0
-
-
il y a 1 jour 23 heures - il y a 1 jour 23 heures #5422
par 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
Dernière édition: il y a 1 jour 23 heures par
jof.
Connexion ou Créer un compte pour participer à la conversation.
Réduire
Plus d'informations
-
Messages : 1932
-
Remerciements reçus 267
-
-
-
-
Réduire
Plus d'informations
-
Messages : 6
-
Remerciements reçus 0
-
-
il y a 1 jour 20 heures #5424
par 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.
Connexion ou Créer un compte pour participer à la conversation.
Réduire
Plus d'informations
-
Messages : 6
-
Remerciements reçus 0
-
-
il y a 1 jour 17 heures #5425
par 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
Connexion ou Créer un compte pour participer à la conversation.
-
Forum
-
GMapFP
-
Bugs
-
Error saving template
Temps de génération de la page : 0.058 secondes