Notice: Undefined property ...

playcat 22 Sep, 2008
Hello,

I have just installed your Component on my test site which uses Joomla 1.5.7. I installed version 3.0 stable.

However, I'm getting quite some number of notices, both in backend and front end.

Here are examples:
(frontend)
Notice: Undefined property: stdClass::$plugins in /httpdocs/components/com_chronocontact/chronocontact.php on line 286

Notice: Undefined property: stdClass::$mplugins_order in /httpdocs/components/com_chronocontact/chronocontact.php on line 287

Notice: Undefined property: stdClass::$plugins in /httpdocs/components/com_chronocontact/chronocontact.php on line 507

Notice: Undefined property: stdClass::$mplugins_order in /httpdocs/components/com_chronocontact/chronocontact.php on line 508

(backend)
Notice: Undefined property: stdClass::$tablenames in /httpdocs/administrator/components/com_chronocontact/admin.chronocontact.html.php on line 123

I know that I can hide all of this by turning notices off, but I'm wondering why is this happening. I'm not very eager to go and look for defining those (by giving them some default values) if I don't have to.

What seems to be the problem?

Best,
Dan
Max_admin 23 Sep, 2008
Hi playcat, those notices are not harmful of course but we will work on a fix for them on a new release, as you said you can temporarily turn off notices, nothing we can do more than this now!

btw, whats your PHP.ini error reporting setting value ?

Regards

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
playcat 25 Sep, 2008
Thank you for your reply. I'm unsure of php.ini because it's not my server entirely, and I should ask my admin.

I'll settle with turning notices off.

Once again, thanks.

Best,
Dan
Max_admin 25 Sep, 2008
No problems!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
thomasla 01 Oct, 2008
Hi,
I have similar problem and I have turned off "notices" in global configuration, server, but stil get this error:

In backend
Notice: Undefined property: tablenames in /usr/local/pem/vhosts/134562/webspace/httpdocs/tjuvgods.se/administrator/components/com_chronocontact/admin.chronocontact.html.php on line 123

Front end
Notice: Undefined variable: posted in /usr/local/pem/vhosts/134562/webspace/httpdocs/tjuvgods.se/modules/mod_chronocontact/helper.php on line 112

Can you please help me?

thanksin advance Thomas
Max_admin 02 Oct, 2008
Hi Thomas,

Overwrite the attached file and it will fix all these notices at the admin area, let me know about any issues!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mdiorio 14 Nov, 2008
I was getting the same errors and copied the file over. I'm no longer getting those error, but have many other errors.

If I try to edit an existing form, I get:
PHP Notice: Undefined property: stdClass::$submissions_limit in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1269 PHP Notice: Undefined property: stdClass::$tablenames in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1626 PHP Notice: Undefined property: stdClass::$dbconnection in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1636 PHP Notice: Undefined property: stdClass::$dbconnection in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1637 PHP Notice: Undefined property: stdClass::$savedataorder in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1666 PHP Notice: Undefined property: stdClass::$savedataorder in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1667 PHP Notice: Undefined property: stdClass::$handlepostedarrays in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1699 PHP Notice: Undefined property: stdClass::$handlepostedarrays in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1700 PHP Notice: Undefined property: stdClass::$imgver_error_msg in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1844 PHP Notice: Undefined variable: gd_info in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1850 PHP Notice: Undefined variable: gd_info in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1855 PHP Notice: Undefined variable: gd_info in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1861 PHP Notice: Undefined property: stdClass::$servervalidate in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 2017 PHP Notice: Undefined property: stdClass::$servervalidate in C:\Inetpub\wwwroot\joomla\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 2018


If I try to do CB Registration, I get:

PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\wwwroot\joomla\components\com_chronocontact\plugins\cf_cb_registration.php on line 20 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\wwwroot\joomla\components\com_chronocontact\plugins\cf_cb_registration.php on line 92


All your tooltips on the Joomla registration page just say "Tooltip".

If i try to view the form from the link, I get
PHP Notice: Undefined property: stdClass::$dbconnection in C:\Inetpub\wwwroot\joomla\components\com_chronocontact\chronocontact.php on line 40

When I publish the form and add it as a module to a page, then try to view the page, I get:
PHP Notice: Undefined variable: posted in C:\Inetpub\wwwroot\joomla\modules\mod_chronocontact\helper.php on line 112

Something is very much wrong here.

Thanks for your help.
GreyHead 14 Nov, 2008
Hi mdiorio,

Please go to your site General Configuration and set Error Reporting to 'simple' or 'system default' and you should find that these warnings no longer appear.

Bob
Max_admin 15 Nov, 2008
you may try to re open the form and save it and see if this will clean the errors too!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
nomisbreaks 02 Dec, 2008
I have two web servers with Joomla 1.5.7 and Chrono engine 3.0.

On the Windows Sever 2003, php 5.2.5 setup I get the same notices mentioned above.

However on the Windows XP, php 5.2.6 setup I don't get any notices.

I pretty sure the php.ini is the same for both.
GreyHead 02 Dec, 2008
Hi nomisbreaks,

I'll bet you (almost) anything you like that the error reporting is configured differently somewhere. If not in php_ini then maybe in your Joomla site settings.

Bob
lesther 23 Jan, 2009
Hi,

I found that if you put in the "paramsall" field of the jos_chrono_contact database the "missing" parameters:

dbconnection=No
savedataorder=after_email
handlepostedarrays=Yes
imgver_error_msg=
servervalidate=No
plugins_order=1
mplugins_order=,,
tablenames=

All the notices are gone, and is not necessary to disable the notice in the server or php...

I'm now trying to change the admin.chronocontact.php to save this parameters to a default (or null) value if missing when creating a new form (or maybe to a created form too).

I hope this can help a little bit...
GreyHead 23 Jan, 2009
HI lesther,

Neat answer - and you really should not have a *production* site with Error reporting set to show Warnings or Notices; those error reporting levels are for development sites only.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger