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
  • Topic Author
  • New Member
  • New Member
More
10 years 3 months ago - 10 years 3 months ago #9381 by sanderluc1
[SOLVED] Undefined variable: translator was created by 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
Last edit: 10 years 3 months ago by Lyr!C. Reason: [SOLVED: only in free, missing declaration for a translation]

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 3 months ago #9419 by Lyr!C
Replied by Lyr!C on 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 Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.069 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new