Main menu

Forum


× Help Forum English

[SOLVED] Undefined variable: translator

  • sanderluc1
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
11 Anni 8 Mesi fa - 11 Anni 8 Mesi fa #9381 da sanderluc1
[SOLVED] Undefined variable: translator è stato creato da 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
Ultima Modifica 11 Anni 8 Mesi fa da Lyr!C. Motivo: [SOLVED: only in free, missing declaration for a translation]

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 8 Mesi fa #9419 da Lyr!C
Risposta da Lyr!C al topic 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 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
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) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.051 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new