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
  • Autore della discussione
  • New Member
  • New Member
Di più
10 Anni 3 Mesi fa - 10 Anni 3 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 10 Anni 3 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ù
10 Anni 3 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 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) .

File allegato:

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

Moderatori: Lyr!C
Tempo creazione pagina: 0.068 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new