Gravity forms causing errors
-
Gravity forms is causing issues after PHP updated to 8.1.2
WordPress version 5.9
Current theme: Storefront Child (version 1.0.0) Current plugin: Gravity Forms (version 2.4.20.4) PHP version 8.1.2
woocommerceError Details
=============
An error of type E_ERROR was caused in line 4748 of the file /home/xlh9lkaf0cpn/public_html/wp-content/plugins/gravityforms/gravityforms.php. Error message: Uncaught ValueError: version_compare(): Argument #3 ($operator) must be a valid comparison operator in /home/xlh9lkaf0cpn/public_html/wp-content/plugins/gravityforms/gravityforms.php:4748
Stack trace:
#0 /home/xlh9lkaf0cpn/public_html/wp-content/plugins/gravityforms/gravityforms.php(4748): version_compare()
#1 /home/xlh9lkaf0cpn/public_html/wp-includes/class-wp-hook.php(307): GFForms::maybe_auto_update()
#2 /home/xlh9lkaf0cpn/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#3 /home/xlh9lkaf0cpn/public_html/wp-admin/includes/update.php(1074): apply_filters()
#4 /home/xlh9lkaf0cpn/public_html/wp-admin/includes/class-wp-debug-data.php(1040): wp_is_auto_update_forced_for_item()
#5 /home/xlh9lkaf0cpn/public_html/wp-admin/site-health-info.php(32): WP_Debug_Data::debug_data()
#6 /home/xlh9lkaf0cpn/public_html/wp-admin/includes/class-wp-site-health.php(66): require_once(‘/home/xlh9lkaf0…’)
#7 /home/xlh9lkaf0cpn/public_html/wp-includes/class-wp-hook.php(307): WP_Site_Health->show_site_health_tab()
#8 /home/xlh9lkaf0cpn/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#9 /home/xlh9lkaf0cpn/public_html/wp-includes/plugin.php(474): WP_Hook->do_action()
#10 /home/xlh9lkaf0cpn/public_html/wp-admin/site-health.php(205): do_action()
#11 {main}
thrown
- The topic ‘Gravity forms causing errors’ is closed to new replies.