Forums

Warning messages on form submit...

vanboke 20 Sep, 2007
Chrono Forms installed properly, and I immediately set up a form I need. Everything works properly, except I get the following messages when I submit the form:

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/yourwedd/public_html/website/includes/joomla.php on line 3894

Warning: Variable passed to each() is not an array or object in /home/yourwedd/public_html/website/includes/joomla.php on line 3896



Chrono Forms is properly formatting and sending the e-mail that it is supposed to, so it isn't impacting functionality, it just doesn't look nice.

Anybody have any idea why it is throwing these messages? Any thoughts on how I can fix it?

I am running on Joomla 1.0.12.

Thanks in advance for any help.
Eric
Max_admin 20 Sep, 2007
hi Vanboke,

I think you may be using some PHP code somewhere in your code ? if you can't fix this problem then you can post here any PHP code you have at any field!

For a quick fix just add some redirect URL and this message won't appear!😉

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
vanboke 20 Sep, 2007
Thank you for your help.

I actually don't have any PHP code in any fields. Any other thoughts what might be causing this issue.

I did add a redirect URL and at least I don't see the warnings any longer.

Thanks,
Eric
Max_admin 21 Sep, 2007
Hi Eric,

Thats great we got rid of those warnings and that's the most important, Anyway as you can see on the warning, this is most probable caused by some other script and not the chronoforms core code, you can step down the error reporting settings at the joomla global config🙂

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
wgalindo 21 Sep, 2007
hello, I have the same problem

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/tds/public_html/intranet/includes/joomla.php on line 3894

Warning: Variable passed to each() is not an array or object in /home/tds/public_html/intranet/includes/joomla.php on line 3896

I dont have any php or other scripts into the form
Max_admin 21 Sep, 2007
Hi wgalindo,

this is with version 2.3.4 of ChronoForms ? which joomla version ?

Did you try to put a redirect URL to get rid of them ?

Thanks!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mauro 14 Oct, 2007
Hi,

I solved this problem filling the "ReplyTo name:" field in form
(I Know it watching joomla.php)

In the video tutorial this was not filled and (to me) has generated this warning

sorry for my english..
bye
GreyHead 14 Oct, 2007
Hi mauro,

Thanks for this. I'll make sure that it's completed in the next version of the video.

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