Module

Archived
Forum
(read-only)

VWM Surveys

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Victor Michnowicz

     

Compile Errors

Bug Report

esotm
esotm

We are getting “Message: Undefined index” PHP errors when we try to compile results. See attached.

We have 0.3.2 installed.

Any suggestions?

Victor Michnowicz
# 1
Developer
Victor Michnowicz

Humm.. Did you happen to know if you create a checkbox question, had some people take the poll, then removed a checkbox option? I think something like that may have triggered this error. I’ll look into this further and provided some updated code which may fix this issue. However, if the error is due to what I stated above, your survey results may be skewed as not all people voted on the same set of data.

Victor Michnowicz
# 2
Developer
Victor Michnowicz

I made just some updates and created a new version of VWM Surveys, version 0.3.6. This new code should fix this type of error for both the radio and checkbox question types.

esotm
# 3
esotm

Thanks. That fixed most of the errors. Still getting a few “Undefined index:text” errors. See attached.

I’m asking around to see if the survey was changed after results were submitted. I’m guessing probably.

esotm
# 4
esotm

Just confirmed that the survey has not been changed.

Victor Michnowicz
# 5
Developer
Victor Michnowicz

Interesting.. I may have to look further into that. Did you do anything out of the ordinary with the survey? Regardless, adding the isset() checks is a good idea. I have just updated the module to version 0.3.7 which should fix this error.

esotm
# 6
esotm

Thanks. The latest release fixed all the errors.

The only thing we’ve been doing is updating the plugin new releases come out. Although, I do recall the compile feature working before 0.3.6.