Main menu

Forum


× Help Forum English

[SOLVED] Notice: Undefined variable

  • ptah
  • Autore della discussione
  • New Member
  • New Member
Di più
14 Anni 1 Mese fa - 14 Anni 1 Mese fa #242 da ptah
[SOLVED] Notice: Undefined variable è stato creato da ptah
Good day

I am new to PHP and have a problem setting up the event manager. After installing the component, I created a category but when I tried to create the event, i got this error message:

( ! ) Notice: Undefined variable: class in C:\wamp\www\Council\administrator\components\com_icagenda\models\fields\modal\cat.php on line 35
Call Stack
# Time Memory Function Location
1 0.0006 387856 {main}( ) ..\index.php:0
2 0.3339 10271552 JAdministrator->dispatch( ) ..\index.php:46
3 0.3357 10355504 JComponentHelper::renderComponent( ) ..\application.php:153
4 0.3528 10387064 JComponentHelper::executeComponent( ) ..\helper.php:357
5 0.3546 10439176 require_once( 'C:\wamp\www\Council\administrator\components\com_icagenda\icagenda.php' ) ..\helper.php:388
6 0.3648 10765928 JController->execute( ) ..\icagenda.php:35
7 0.3648 10765976 iCagendaController->display( ) ..\controller.php:754
8 0.3686 10839184 JController->display( ) ..\controller.php:38
9 0.3878 11440944 iCagendaViewEvent->display( ) ..\controller.php:715
10 0.4523 12493192 JView->display( ) ..\view.html.php:46
11 0.4523 12493192 JView->loadTemplate( ) ..\view.php:301
12 0.4570 12596456 include( 'C:\wamp\www\Council\administrator\components\com_icagenda\views\event\tmpl\edit.php' ) ..\view.php:742
13 0.4904 12829888 JForm->getInput( ) ..\edit.php:53
14 0.4910 12829768 JFormField->__get( ) ..\edit.php:560
15 0.4910 12829768 JFormFieldModal_cat->getInput( ) ..\field.php:248



How can I resolve this?
Ultima Modifica 14 Anni 1 Mese fa da Lyr!C. Motivo: [SOLVED]

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

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
14 Anni 1 Mese fa #243 da Lyr!C
Risposta da Lyr!C al topic Notice: Undefined variable
iCagenda may not work well on local like Wamp.

Maybe, due to the parameters of Wamp.

I will test on Wamp as soon as i have time too.
But Hope that someone else can help you before...

Notice that you have to be able to load Javascript in order to work.

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.

  • Manolo2119
  • New Member
  • New Member
Di più
14 Anni 1 Mese fa #249 da Manolo2119
Risposta da Manolo2119 al topic Notice: Undefined variable
Hello, great job congratulations

I have the same problem, both in the frontend and add event.

I use Wamp 2.2

Error in the frontend and add event

Notice: Undefined variable: class in C:\wamp\www\Joomla\administrator\components\com_icagenda\models\fields\modal\cat.php on line 35
Call Stack
# Time Memory Function Location
1 0.0005 382760 {main}( ) ..\index.php:0
2 0.1085 5998616 JAdministrator->dispatch( ) ..\index.php:46
3 0.1138 6393728 JComponentHelper::renderComponent( ) ..\application.php:153
4 0.1252 6422704 JComponentHelper::executeComponent( ) ..\helper.php:351
5 0.1256 6474808 require_once( 'C:\wamp\www\Joomla\administrator\components\com_icagenda\icagenda.php' ) ..\helper.php:383
6 0.1307 6804176 JController->execute( ) ..\icagenda.php:35
7 0.1307 6804224 iCagendaController->display( ) ..\controller.php:760
8 0.1323 6877480 JController->display( ) ..\controller.php:38
9 0.1455 7834912 iCagendaViewEvent->display( ) ..\controller.php:721
10 0.1813 9051064 JView->display( ) ..\view.html.php:46
11 0.1814 9051064 JView->loadTemplate( ) ..\view.php:205
12 0.1833 9154328 include( 'C:\wamp\www\Joomla\administrator\components\com_icagenda\views\event\tmpl\edit.php' ) ..\view.php:649
13 0.2110 10309752 JForm->getInput( ) ..\edit.php:53
14 0.2116 10309624 JFormField->__get( ) ..\edit.php:560
15 0.2116 10309624 JFormFieldModal_cat->getInput( ) ..\field.php:257

as might fix it?

Thank.

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

  • tobitoli80
  • New Member
  • New Member
Di più
14 Anni 1 Mese fa #361 da tobitoli80
Risposta da tobitoli80 al topic Notice: Undefined variable
Same problem here.

In "display" options:

Notice: Undefined variable: class in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\datos_frogak\administrator\components\com_icagenda\models\fields\modal\template.php


In "filters"

Notice: Undefined variable: class in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\datos_frogak\administrator\components\com_icagenda\models\fields\modal\cat.php on line 35


Any ideas??

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

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
14 Anni 1 Mese fa #394 da Lyr!C
Risposta da Lyr!C al topic Notice: Undefined variable
Is it solved ?

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.

  • regis
  • Avatar di regis
  • Premium Member
  • Premium Member
Di più
14 Anni 1 Mese fa #408 da regis
Risposta da regis al topic Notice: Undefined variable
iCagenda works fine in localhost using UwAmp www.uwamp.com/

- Si vous aimez iCagenda et son support, merci de poster un petit commentaire sur le JED

- If you like iCagenda and support, thank you to post a small comment on the JED

➯ ♥ iCagenda on JED

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

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
14 Anni 1 Mese fa #504 da Lyr!C
Risposta da Lyr!C al topic Notice: Undefined variable
And works fine too with XAMPP : docs.joomla.org/Xampp ;)

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.

  • rikrei
  • New Member
  • New Member
Di più
14 Anni 1 Mese fa #517 da rikrei
Risposta da rikrei al topic Notice: Undefined variable
To all using Wampserver 2.2

Quick walkaround to you get it working on Wamp is to turn off errer reporting under Joomla Global Configuration / Server / Error Reporting to off

Not a fix but then you can use wampserver..

Remember to set it back to on when u uplaod site to your server (if you use it)

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

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
14 Anni 1 Mese fa #519 da Lyr!C
Risposta da Lyr!C al topic Notice: Undefined variable

rikrei ha scritto: To all using Wampserver 2.2

Quick walkaround to you get it working on Wamp is to turn off errer reporting under Joomla Global Configuration / Server / Error Reporting to off

Not a fix but then you can use wampserver..

Remember to set it back to on when u uplaod site to your server (if you use it)


Thanks !

Very useful as iCagenda is still in developpement with files included, but not actives, and not really finished in coding.

I think now, why there are those errors. I will correct most in the next release with registration added ;-)

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.076 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new