• Resolved supaiku

    (@supaiku)


    when running php 8

    [13-Jul-2022 19:19:09 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:67
    Stack trace:
    #0 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(67): count(NULL)
    #1 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(107): GuzzleHttp\Handler\CurlFactory->release(Object(GuzzleHttp\Handler\EasyHandle))
    #2 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
    #3 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
    #4 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
    #5 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(42): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
    #6 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Middleware.php(30): GuzzleHttp\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
    #7 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(68): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
    #8 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Middleware.php(59): GuzzleHttp\RedirectMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
    #9 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/HandlerStack.php(67): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array)
    #10 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Client.php(275): GuzzleHttp\HandlerStack->__invoke(Object(GuzzleHttp\Psr7\Request), Array)
    #11 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Client.php(96): GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array)
    #12 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/guzzlehttp/guzzle/src/Client.php(104): GuzzleHttp\Client->sendAsync(Object(GuzzleHttp\Psr7\Request), Array)
    #13 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/constantcontact/constantcontact/src/Ctct/Services/BaseService.php(88): GuzzleHttp\Client->send(Object(GuzzleHttp\Psr7\Request), Array)
    #14 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/vendor/constantcontact/constantcontact/src/Ctct/Services/ListService.php(110): Ctct\Services\BaseService->sendRequestWithoutBody(’17a3459e-2246-4…’, ‘GET’, ‘https://api.con…’)
    #15 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/classes/class.kwsconstantcontact.php(206): Ctct\Services\ListService->getList(’17a3459e-2246-4…’, ‘1’)
    #16 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/classes/class.kwscontactlist.php(143): KWSConstantContact->getList(’17a3459e-2246-4…’, ‘1’)
    #17 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/lib/form-designer/form.php(517): KWSContactList::outputHTML(Array, Array)
    #18 /nas/content/live/hstaadmin/wp-content/plugins/constant-contact-api/lib/form-designer/form-designer.php(48): CTCT_Form_Designer_Output::signup_form(Array, false)
    #19 /nas/content/live/hstaadmin/wp-includes/shortcodes.php(356): CTCT_Form_Designer->shortcode(Array, ”, ‘constantcontact…’)
    #20 [internal function]: do_shortcode_tag(Array)
    #21 /nas/content/live/hstaadmin/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(consta…’, ‘do_shortcode_ta…’, ‘<p style=”text-…’)
    #22 /nas/content/live/hstaadmin/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(2904): do_shortcode(‘<p style=”text-…’)
    #23 /nas/content/live/hstaadmin/wp-includes/shortcodes.php(356): ET_Builder_Element->_render(Array, ‘<p style=”text-…’, ‘et_pb_text’)
    #24 [internal function]: do_shortcode_tag(Array)
    #25 /nas/content/live/hstaadmin/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(consta…’, ‘do_shortcode_ta…’, ‘[et_pb_text _bu…’)
    #26 /nas/content/live/hstaadmin/wp-content/themes/Divi/includes/builder/main-structure-elements.php(3092): do_shortcode(‘[et_pb_text _bu…’)
    #27 /nas/content/live/hstaadmin/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3241): ET_Builder_Column->render(Array, ‘[et_pb_text _bu…’, ‘et_pb_column’, ”, ”, ”, ”)
    #28 /nas/content/live/hstaadmin/wp-includes/shortcodes.php(356): ET_Builder_Element->_render(Array, ‘[et_pb_text _bu…’, ‘et_pb_column’)
    #29 [internal function]: do_shortcode_tag(Array)
    #30 /nas/content/live/hstaadmin/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(consta…’, ‘do_shortcode_ta…’, ‘[et_pb_column t…’)
    #31 /nas/content/live/hstaadmin/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1915): do_shortcode(‘[et_pb_column t…’)
    #32 /nas/content/live/hstaadmin/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3241): ET_Builder_Row->render(Array, ‘[et_pb_column t…’, ‘et_pb_row’, ”, ”, ”, ”)
    #33 /nas/content/live/hstaadmin/wp-includes/shortcodes.php(356): ET_Builder_Element->_render(Array, ‘[et_pb_column t…’, ‘et_pb_row’)
    #34 [internal function]: do_shortcode_tag(Array)
    #35 /nas/content/live/hstaadmin/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(consta…’, ‘do_shortcode_ta…’, ‘[et_pb_row][et_…’)
    #36 /nas/content/live/hstaadmin/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1283): do_shortcode(‘[et_pb_row][et_…’)
    #37 /nas/content/live/hstaadmin/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3241): ET_Builder_Section->render(Array, ‘[et_pb_row][et_…’, ‘et_pb_section’, ”, ”, ”, ”)
    #38 /nas/content/live/hstaadmin/wp-includes/shortcodes.php(356): ET_Builder_Element->_render(Array, ‘[et_pb_row][et_…’, ‘et_pb_section’)
    #39 [internal function]: do_shortcode_tag(Array)
    #40 /nas/content/live/hstaadmin/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(consta…’, ‘do_shortcode_ta…’, ‘[et_pb_section …’)
    #41 /nas/content/live/hstaadmin/wp-content/plugins/popup-maker/classes/Helpers.php(18): do_shortcode(‘[et_pb_section …’)
    #42 /nas/content/live/hstaadmin/wp-includes/class-wp-hook.php(309): PUM_Helpers::do_shortcode(‘[et_pb_section …’)
    #43 /nas/content/live/hstaadmin/wp-includes/plugin.php(191): WP_Hook->apply_filters(‘[et_pb_section …’, Array)
    #44 /nas/content/live/hstaadmin/wp-content/plugins/popup-maker/classes/Model/Popup.php(132): apply_filters(‘pum_popup_conte…’, ‘[et_pb_section …’, 4989)
    #45 /nas/content/live/hstaadmin/wp-content/plugins/popup-maker/classes/Site/Popups.php(177): PUM_Model_Popup->get_content()
    #46 /nas/content/live/hstaadmin/wp-content/plugins/popup-maker/classes/Site/Popups.php(109): PUM_Site_Popups::preload_popup(Object(PUM_Model_Popup))
    #47 /nas/content/live/hstaadmin/wp-includes/class-wp-hook.php(307): PUM_Site_Popups::load_popups(”)
    #48 /nas/content/live/hstaadmin/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #49 /nas/content/live/hstaadmin/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #50 /nas/content/live/hstaadmin/wp-includes/script-loader.php(2156): do_action(‘wp_enqueue_scri…’)
    #51 /nas/content/live/hstaadmin/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts(”)
    #52 /nas/content/live/hstaadmin/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #53 /nas/content/live/hstaadmin/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #54 /nas/content/live/hstaadmin/wp-includes/general-template.php(3042): do_action(‘wp_head’)
    #55 /nas/content/live/hstaadmin/wp-content/themes/Divi/header.php(28): wp_head()
    #56 /nas/content/live/hstaadmin/wp-includes/template.php(770): require_once(‘/nas/content/li…’)
    #57 /nas/content/live/hstaadmin/wp-includes/template.php(716): load_template(‘/nas/content/li…’, true, Array)
    #58 /nas/content/live/hstaadmin/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #59 /nas/content/live/hstaadmin/wp-content/themes/Divi/page.php(3): get_header()
    #60 /nas/content/live/hstaadmin/wp-includes/template-loader.php(106): include(‘/nas/content/li…’)
    #61 /nas/content/live/hstaadmin/wp-blog-header.php(19): require_once(‘/nas/content/li…’)
    #62 /nas/content/live/hstaadmin/index.php(17): require(‘/nas/content/li…’)
    #63 {main}

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal PHP error’ is closed to new replies.