Hello,

After upgrading to PHP 7.4, i've got this notice message in a webform:

Notice : Trying to access array offset on value of type null dans _webform_client_form_rule_check() (ligne 2079 dans D:\sites\site-test\sites\all\modules\webform\webform.module)

I saw some patches due to same reason, but not for this module.

Could you help me, please ?

Thanks for answer

Comments

joao sausen’s picture

I had the same issue with webforms 7.3.30, I updated to 7.4.23 and its all good

xpatval’s picture

Hello, thanks for your answer.

Effectively, i have the 7.3.30 webform module, but, how do you do to update to 7.4.23, if the available updates report don't ask you to do it ? About webform module, i've just 'also available'...

xpatval’s picture

didier misson’s picture

Hello

Same errors messages in Contact WEBFORM with PHP 7.4.9 :

My WEBFORM is 7.x-3.30.
  • Notice : Trying to access array offset on value of type null dans _webform_client_form_rule_check() (ligne 2079 dans /home/mysite/public_html/sites/all/modules/webform/webform.module).
  • Notice : Trying to access array offset on value of type null dans _webform_client_form_rule_check() (ligne 2079 dans /home/mysite/public_html/sites/all/modules/webform/webform.module).
  • Notice : Trying to access array offset on value of type null dans _webform_client_form_rule_check() (ligne 2079 dans /home/mysite/public_html/sites/all/modules/webform/webform.module).
  • Notice : Trying to access array offset on value of type null dans _webform_client_form_rule_check() (ligne 2079 dans /home/mysite/public_html/sites/all/modules/webform/webform.module).
  • Notice : Trying to access array offset on value of type null dans _webform_client_form_rule_check() (ligne 2079 dans /home/mysite/public_html/sites/all/modules/webform/webform.module).

With Virtualmin, I rollback to PHP 7.3.21, and WEBFORM error messages disappear !

So, probably Webform 7.x-3.30 is not yet totaly compatible with PHP 7.4 ?

Thanks.

didier misson’s picture

I must probably upgrade Webform 7.x-3.30 to 7.X-4... 

I will do this soon...

Thanks

didier misson’s picture

I upgrade WEBFORM to last 7.X.4 version, switch to PHP 7.4, and no error.

Solved.

yookoala’s picture

Joao Paulo Schoemberger has created issue 3199650 for it. If you hesitated to upgrade your Webform, you may want to subscribe to the issue.