Forums

Undefined offsets in data_republish.php

NickOg 22 Sep, 2013
Hi Bob,

any idea what might be triggering these? Several on one form as you can see in the attached image. What might I be doing to trigger those off? Any idea?

Notice: Undefined offset: 2 in /hsphere/local/home/pmhu3a0/j258.pmhu3a.org.au/components/com_chronoforms/libraries/includes/data_republish.php on line 63

Regards

Nick
GreyHead 22 Sep, 2013
Hi Nick,

The quick fix is to set the site Error Reporting to System Default or None in the site Global Configuration.

The warning appears to come from a minor buglet where the code looks for a 'name' attribute for an input and throws the warning when one isn't found. I could see at least one un-named input in the form - I think it is from the old Monkey Physics Datepicker.

Bob
NickOg 22 Sep, 2013
Hi Bob,

Yes - once I switch the site to 'live' I will set the error reporting down as you suggest. I just wanted to be sure that it wasn't something I had got wrong.

I do like 'buglet'. Sounds much more acceptable than bug. Especially a minor buglet. 😀 😀 Another of those invented words - like 'automagically' which is easier to explain than automatically sometimes.

Thanks

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