I was receiving the same error. The reason this error occurs is because PHP versions 5.4 and above have strict warnings enabled by default. With strict warnings turned on, it will always trigger when there is a an attempt to access a value in an empty array. In this case, the developer is testing for a multi-page form and is accessing an array value that doesn’t exist for single-page forms. I added a check to see if the multi-page arrays exist. Now, it’s fair to warn you that I have not tested this on multi-page forms. I’ve only tested it on single-page forms and it stops the warning messages.
//don't require if not on the last page
global $frm_next_page, $frm_vars;
if(!is_array($frm_vars) or !is_array($frm_next_page)) {
// do nothing
} else {
if((is_array($frm_vars) and isset($frm_vars['next_page']) and isset($frm_vars['next_page'][$values['form_id']])) or (is_array($frm_next_page) and isset($frm_next_page[$values['form_id']])))
return $errors;
}
This code wraps the developer’s original code in an if statement. Use at your own risk. Remember that if the developer releases another version of the plugin and still hasn’t fixed the warning message, this code will be overwritten.