Warning: Trying to access array offset (when PHP is updated at webhost)

chicago web management
Thu, 04 Jan 2024 03:42:25 +0000
Get Help

Hello, I updated my PHP settings at webhost (siteground) and see the following error in PHP 8.3.1
this warning displays:
Warning: Trying to access array offset on value of type null in /home/customer/www/REMOVED-for-SECURITY/public_html/wp-content/plugins/gravityformschainedselects/includes/class-gf-field-chainedselect.php on line 526

in PHP 8.0.30
same warning displays:
Warning: Trying to access array offset on value of type null in /home/customer/www/REMOVED-for-SECURITY/public_html/wp-content/plugins/gravityformschainedselects/includes/class-gf-field-chainedselect.php on line 526

in PHP 7.4.33
NO WARNING (YAY)
Error disappears.

SO, how do we fix this so that I can update PHP and not have this error display?

Thanks in advance.

3 posts - 2 participants

Read full topic