Main menu

Forum


The developer takes a few days off for Summer vacation...
...and will be back with charged battery!

From 14 June to 29 June, 2025 included
During this period,
assistance from developer will not be provided.

NEWS: iCagenda 4.0.0-alpha1 will be available for testing for users with a PRO subscription in July!

× Help Forum English

[SOLVED] Undefined variable: translator

  • sanderluc1
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 10 ans 3 mois - il y a 10 ans 3 mois #9381 par sanderluc1
[SOLVED] Undefined variable: translator a été créé par sanderluc1
Icagenda works great but i have alot of the same errors in my error.log
Update to 3.5.1 didnt solved the problem.

This 1 of the 1000+ errors

[Mon Mar 02 23:19:20.958709 2015] [:error] [pid 3362] [client localhost:48091]
PHP Notice: Undefined variable: translator in ***/administrator/components/com_icagenda/views/icagenda/tmpl/default.php on line 749,
referer: www.sdc-sneek.nl/administrator/index.php


Is there anyway to fix this error?


Regards,

Sander
Dernière édition: il y a 10 ans 3 mois par Lyr!C. Raison: [SOLVED: only in free, missing declaration for a translation]

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 10 ans 3 mois #9419 par Lyr!C
Réponse de Lyr!C sur le sujet Undefined variable: translator
Hello,

THank you for this report!

Indeed, this is just the declaration for $translator not set where it should. (only the free version has this issue).

Don't worry, it's not a real bug, as no wrong behaviour.
The $translator variable is just to set the translation for the word "Translator" used in the list of flags, and for the tooltip when you hover a flag.

You just have to turn off the joomla error reporting in global configuration of Joomla.
This issue will be fixed in 3.5.2, but don't forget that on a online site, you should not turn on your error reporting to prevent security issue in frontend.

if you want to edit the file to remove the notice error, just copy/paste the line 493 :
$translator=JText::_('COM_ICAGENDA_TRANSLATOR');

At the top of the file, for example, on line 30

Hope this helps!
And thank you!

Regards,
Cyril

Latest version : iCagenda 3.9.11
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.082 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new