PHP Warnings & Critical Error

[ad_1]

The following PHP warning is flooding my error logs:

[23-Mar-2023 20:46:48 UTC] PHP Warning: Array to string conversion in /wp-content/plugins/gravityforms/includes/addon/class-gf-addon.php on line 667

I also ended up with this critical error:

[22-Mar-2023 02:24:28 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /wp-content/plugins/connector-gravityforms-mailerlite/class-gf-cgfm.php:875
Stack trace:

/wp-content/plugins/connector-gravityforms-mailerlite/class-gf-cgfm.php(772): GF_CGFM->mailerlite_api('GET', 'groups')

/wp-content/plugins/connector-gravityforms-mailerlite/class-gf-cgfm.php(536): GF_CGFM->initialize_api()

/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(362): GF_CGFM->process_feed(Array, Array, Array)

/wp-includes/class-wp-hook.php(310): GFFeedAddOn->maybe_process_feed(Array, Array)

/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)

/wp-content/plugins/gravityforms/gravityforms.php(7009): apply_filters('gform_entry_pos…', Array, Array, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)

/wp-content/plugins/gravityforms/form_display.php(1807): gf_apply_filters('gform_entry_pos…', Array, Array)

/wp-content/plugins/gravityforms/form_display.php(196): GFFormDisplay::handle_submission(Array, Array, false)

/wp-content/plugins/gravityforms/gravityforms.php(865): GFFormDisplay::process_form(7, 1)

/wp-includes/class-wp-hook.php(308): GFForms::maybe_process_form(Object(WP))

/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)

/wp-includes/plugin.php(565): WP_Hook->do_action(Array)

/wp-includes/class-wp.php(797): do_action_ref_array('wp', Array)

/wp-includes/functions.php(1332): WP->main('')

/wp-blog-header.php(16): wp()

/index.php(17): require('/home/dfwcrafts…')

16 {main}

/wp-content/plugins/connector-gravityforms-mailerlite/class-gf-cgfm.php on line 875


Gravity Forms believes the two may be related and suggested I contact you. Can you help me figure out the issue?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer