• Resolved GregF

    (@gregf)


    Hello. I have Analytify installed on 50+ sites. Most seemed to be working properly after updating to 5.0 but a few broke in significant ways. There have been 2 different sets of symptoms:

    1) The site reported a critical error and emailed a recovery link. Logging in using Recovery Mode, Analytify had been paused and reported the following error:

    An error of type E_ERROR was caused in line 184 of the file /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/guzzlehttp/guzzle/src/Client.php. Error message: Uncaught TypeError: GuzzleHttp\Client::request(): Argument #3 ($options) must be of type array, string given, called in /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/guzzlehttp/guzzle/src/Client.php on line 92 and defined in /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/guzzlehttp/guzzle/src/Client.php:184 Stack trace: #0 /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/guzzlehttp/guzzle/src/Client.php(92): GuzzleHttp\Client->request() #1 /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/src/Ctct/Services/BaseService.php(65): GuzzleHttp\Client->__call() #2 /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/src/Ctct/Services/ListService.php(31): Ctct\Services\BaseService->createBaseRequest() #3 /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/constant-contact-forms/includes/class-api.php(221): Ctct\Services\ListService->getLists() #4 /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/constant-contact-forms/includes/class-lists.php(727): ConstantContact_API->get_lists() #5 /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/constant-contact-forms/includes/class-builder.php(89): ConstantContact_Lists->get_lists() #6 /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/constant-contact-forms/includes/class-settings.php(380): ConstantContact_Builder->get_lists() #7 /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/constant-contact-forms/includes/class-settings.php(186): ConstantContact_Settings->register_fields_general() #8 /var/www/vhosts/successcapitalsba.com/public_html/wp-includes/class-wp-hook.php(308): ConstantContact_Settings->add_options_page_metaboxes() #9 /var/www/vhosts/successcapitalsba.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #10 /var/www/vhosts/successcapitalsba.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/constant-contact-forms/vendor/cmb2/cmb2/bootstrap.php(26): do_action() #12 /var/www/vhosts/successcapitalsba.com/public_html/wp-content/plugins/constant-contact-forms/vendor/cmb2/cmb2/init.php(165): cmb2_bootstrap() #13 /var/www/vhosts/successcapitalsba.com/public_html/wp-includes/class-wp-hook.php(308): CMB2_Bootstrap_2101->include_cmb() #14 /var/www/vhosts/successcapitalsba.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #15 /var/www/vhosts/successcapitalsba.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #16 /var/www/vhosts/successcapitalsba.com/public_html/wp-settings.php(617): do_action() #17 /var/www/vhosts/successcapitalsba.com/public_html/wp-config.php(87): require_once('...') #18 /var/www/vhosts/successcapitalsba.com/public_html/wp-load.php(50): require_once('...') #19 /var/www/vhosts/successcapitalsba.com/public_html/wp-admin/admin.php(34): require_once('...') #20 /var/www/vhosts/successcapitalsba.com/public_html/wp-admin/index.php(10): require_once('...') #21 {main} thrown

    2) The plugin failed silently, without affecting the front end of the site. However, it was impossible to login, with wp-login.php throwing a “could not be authenticated” error. Disabling Analytify through file manager immediately resolved the login issue. In this case, /wp-admin/error_log reports the following:

    [20-Apr-2023 15:25:14 UTC] PHP Fatal error:  Uncaught TypeError: GuzzleHttp\Client::request(): Argument #3 ($options) must be of type array, string given, called in /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/guzzlehttp/guzzle/src/Client.php on line 92 and defined in /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/guzzlehttp/guzzle/src/Client.php:184
    Stack trace:
    #0 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/guzzlehttp/guzzle/src/Client.php(92): GuzzleHttp\Client->request()
    #1 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/src/Ctct/Services/BaseService.php(65): GuzzleHttp\Client->__call()
    #2 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/src/Ctct/Services/ListService.php(31): Ctct\Services\BaseService->createBaseRequest()
    #3 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/constant-contact-forms/includes/class-api.php(221): Ctct\Services\ListService->getLists()
    #4 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/constant-contact-forms/includes/class-lists.php(727): ConstantContact_API->get_lists()
    #5 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/constant-contact-forms/includes/class-builder.php(89): ConstantContact_Lists->get_lists()
    #6 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/constant-contact-forms/includes/class-settings.php(380): ConstantContact_Builder->get_lists()
    #7 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/constant-contact-forms/includes/class-settings.php(186): ConstantContact_Settings->register_fields_general()
    #8 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-includes/class-wp-hook.php(308): ConstantContact_Settings->add_options_page_metaboxes()
    #9 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #10 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-includes/plugin.php(517): WP_Hook->do_action()
    #11 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/constant-contact-forms/vendor/cmb2/cmb2/bootstrap.php(26): do_action()
    #12 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/constant-contact-forms/vendor/cmb2/cmb2/init.php(165): cmb2_bootstrap()
    #13 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-includes/class-wp-hook.php(308): CMB2_Bootstrap_2101->include_cmb()
    #14 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #15 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-includes/plugin.php(517): WP_Hook->do_action()
    #16 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-settings.php(617): do_action()
    #17 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-config.php(81): require_once('...')
    #18 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-load.php(50): require_once('...')
    #19 /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-admin/admin-ajax.php(22): require_once('...')
    #20 {main}
      thrown in /var/www/vhosts/athenasacademy.com/athenashomeschool.com/wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/guzzlehttp/guzzle/src/Client.php on line 184

    The sites with these problems are all on PHP 8.1.18. Re-enabling the plugin solves the problems temporarily but they all recur within a few hours. I have disabled Analytify on all of my sites until these issues can be resolved.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Something is very broken in 5.0’ is closed to new replies.