Title: PHP Warnings &amp; Critical Error
Last modified: March 24, 2023

---

# PHP Warnings & Critical Error

 *  Resolved [tmc](https://wordpress.org/support/users/dfwcraftshows/)
 * (@dfwcraftshows)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-critical-error/)
 * 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:
 *     ```wp-block-code
       [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?

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Perez](https://wordpress.org/support/users/davidperez/)
 * (@davidperez)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-critical-error/#post-16590678)
 * Hello, we’ve developed another plugin that has more functionalities and connects
   to Mailerlite and is maintained. Please go to this plugin:
 * [https://wordpress.org/plugins/formscrm/](https://wordpress.org/plugins/formscrm/)

Viewing 1 replies (of 1 total)

The topic ‘PHP Warnings & Critical Error’ is closed to new replies.

 * ![](https://ps.w.org/connector-gravityforms-mailerlite/assets/icon-256x256.png?
   rev=2521881)
 * [Connector GravityForms and MailerLite](https://wordpress.org/plugins/connector-gravityforms-mailerlite/)
 * [Support Threads](https://wordpress.org/support/plugin/connector-gravityforms-mailerlite/)
 * [Active Topics](https://wordpress.org/support/plugin/connector-gravityforms-mailerlite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/connector-gravityforms-mailerlite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/connector-gravityforms-mailerlite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Perez](https://wordpress.org/support/users/davidperez/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-critical-error/#post-16590678)
 * Status: resolved