• dalberts69

    (@dalberts69)


    Greetings,

    After updating this plugin from the latest release, a WSOD appears.

    Looking at the Bugsnag logs, the issue is with the lack of a “Utils” class in Guzzle at activecampaign-for-woocommerce/ac_vendor/guzzlehttp/psr7/src/functions.php line 41

    Class 'AcVendor\GuzzleHttp\Psr7\Utils' not found

    Checking with the Guzzle Repo looks like they refactored the functions.php file compared to the version seen in this plugin: https://github.com/guzzle/psr7/blob/master/src/functions.php

    Thanks!

Viewing 4 replies - 31 through 34 (of 34 total)
  • westhillsweb

    (@westhillsweb)

    Confirmation from the Support Rep at ActiveCampaign that VERSION 1.2.13 SOLVES THE PROBLEM. She wrote:

    You’re right on, that’s the release that our developers pushed to fix the problem.
    Once you install it, the problem should no longer occur, please let me know how you go!

    It’s working fine for me so far. No need to use a prior version.
    -Mark

    p.s. I’d like to commend the AWESOME SUPPORT FROM ACTIVECAMPAIGN for getting this fixed so quickly.

    jjbbrr

    (@jjbbrr)

    Updated to 1.2.13 and it is working again.

    Even after updating the plugin, errors continue to be issued and errors are internal to the plugin offered by active for woocommerce.
    Follow my error logs.

    ERROR The resource was unprocessable.
    {“resource”:”ecomOrder”,”context”:
    “{\”ecomOrder\”:{\”connectionid\”:
    \”1\”,\”customerid\”:false,\”currency\”:
    \”BRL\”,\”email\”:\”\”,\”externalcheckoutid\”
    :\”b032ef23247fa578fadb2450b468401e\”,\”id\”
    :false,\”source\”:\”1\”,\”totalPrice\”:\
    “139590\”,\”orderDate\”:\”2020-11-20T20:28:58+00:00\
    “,\”orderUrl\”:\”https:\\\/\\\/vasap.com.br\\\/carrinho\\\/\”,
    \”orderProducts\”:[{\”category\”:\”VASOS\”,\”externalid\”:16999,\
    “name\”:\”Kit de 3 vasos Cone Liso azul maca\\u00faba\”,\”price\
    “:26070,\”quantity\”:1,\”imageUrl\”:
    \”https:\\\/\\\/vasap.com.br\\\/wp-content\\\/uploads\\\/2020\\\/08\\\
    /cone-liso-trio-para-plantas-vasap-vaso-barato-.jpg\”,\”description\”:\”\”}
    ,{\”category\”:\”VASOS\”,\”externalid\”:19959,\”name\”:\”Kit de 3 vasos vietnamitas
    com brilho azul maca\\u00faba\”,\”price\”:32670,\”quantity\”:1,\”imageUrl\”:
    \”https:\\\/\\\/vasap.com.br\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/
    vasos-vietnamitas-vasap-azul-2-1200×1200.jpg\”,\”description\”:\”\”},{\”category\”
    :\”VASOS\”,\”externalid\”:10260,\”name\”:\”Kit de 4 vasos Cone Liso Azul Maca\\u0
    0faba\”,\”price\”:53460,\”quantity\”:1,\”imageUrl\”:\”https:\\\/\\\/vasap.com.br\\\
    /wp-content\\\/uploads\\\/2020\\\/04\\\/vasos-para-plantas-40-1.jpg\”,\”descripti
    on\”:\”\”},{\”externalid\”:6254,\”name\”:\”Vaso cone liso 77 – Azul Maca\\u00fa
    ba\”,\”price\”:27389.999999999996,\”quantity\”:1,\”imageUrl\”:\”https:\\\/\\\/vasap
    .com.br\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/VASO-CONE-LISO-77-AZUL-500×500.j
    pg\”,\”description\”:\”Tamanho ( ALT X LARG X COMP ): 77 x 55 x 55 cm\”}]}}”,”respon
    se”:”{\”errors\”:[{\”title\”:\”O ecomCustomer relacionado n\\u00e3o existe.\”,\”detai
    l\”:\”\”,\”code\”:\”related_missing\”,\”error\”:\”ecomCustomer_not_exist\”,\”source
    \”:{\”pointer\”:\”\\\/data\\\/attributes\\\/customerid\”}},{\”title\”:\”O ecomOrde
    r email n\\u00e3o foi fornecido.\”,\”detail\”:\”\”,\”code\”:\”field_missing\”,\”erro
    r\”:\”ecomOrder_email_n\\u00e3o_foi_fornecido\”,\”source\”:{\”pointer\”:\”\\\/data\\
    \/attributes\\\/email\”}}]}”,”trace”:”#0 \/home\/runcloud\/webapps\/lojavirtual-vasap
    \/wp-content\/plugins\/activecampaign-for-woocommerce\/ac_vendor\/guzzlehttp\/guzzle\
    /src\/Middleware.php(65): AcVendor\\GuzzleHttp\\Exception\\RequestException::create
    ()\n#1 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\
    /activecampaign-for-woocommerce\/ac_vendor\/guzzlehttp\/promises\/src\/Promise.php(204):
    AcVendor\\GuzzleHttp\\Middleware::AcVendor\\GuzzleHttp\\{closure}()\n#2 \/home\/runcloud\
    /webapps\/lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\/ac_v
    endor\/guzzlehttp\/promises\/src\/Promise.php(153): AcVendor\\GuzzleHttp\\Promise\\Promi
    se::callHandler()\n#3 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/a
    ctivecampaign-for-woocommerce\/ac_vendor\/guzzlehttp\/promises\/src\/TaskQueue.php(48):
    AcVendor\\GuzzleHttp\\Promise\\Promise::AcVendor\\GuzzleHttp\\Promise\\{closure}()\n#4 \/h
    ome\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\
    /ac_vendor\/guzzlehttp\/promises\/src\/Promise.php(248): AcVendor\\GuzzleHttp\\Promise\\Ta
    skQueue->run()\n#5 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/
    activecampaign-for-woocommerce\/ac_vendor\/guzzlehttp\/promises\/src\/Promise.php(224):
    AcVendor\\GuzzleHttp\\Promise\\Promise->invokeWaitFn()\n#6 \/home\/runcloud\/webapps\
    /lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\/ac_vendor\
    /guzzlehttp\/promises\/src\/Promise.php(269): AcVendor\\GuzzleHttp\\Promise\\
    Promise->waitIfPending()\n#7 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\
    /plugins\/activecampaign-for-woocommerce\/ac_vendor\/guzzlehttp\/promises\/src\/Promise.php(226):
    AcVendor\\GuzzleHttp\\Promise\\Promise->invokeWaitList()\n#8 \/home\/runcloud\/webapps\
    /lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\/ac_vendor\/guzzlehttp\
    /promises\/src\/Promise.php(62): AcVendor\\GuzzleHttp\\Promise\\Promise->waitIfPending()\n#9 \
    /home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\
    /ac_vendor\/guzzlehttp\/guzzle\/src\/Client.php(182): AcVendor\\GuzzleHttp\\Promise\\
    Promise->wait()\n#10 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\
    /activecampaign-for-woocommerce\/includes\/api-client\/class-activecampaign-for-woocommerce
    -api-client.php(395): AcVendor\\GuzzleHttp\\Client->request()\n#11 \/home\/runcloud\/webapps\
    /lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\/includes\/traits\/
    class-activecampaign-for-woocommerce-interacts-with-api-trait.php(223):
    Activecampaign_For_Woocommerce_Api_Client->execute()\n#12 \/home\/runclou
    d\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\
    /includes\/repositories\/class-activecampaign-for-woocommerce-ecom-order-repository.
    php(155): Activecampaign_For_Woocommerce_Ecom_Order_Repository->create_and_set_model_
    properties_from_api()\n#13 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\
    /plugins\/activecampaign-for-woocommerce\/includes\/commands\/class-activecampaign-f
    or-woocommerce-update-cart-command.php(166): Activecampaign_For_Woocommerce_Ecom_O
    rder_Repository->create()\n#14 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-i
    ncludes\/class-wp-hook.php(287): Activecampaign_For_Woocommerce_Update_Cart_Command
    ->execute()\n#15 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/class-w
    p-hook.php(311): WP_Hook->apply_filters()\n#16 \/home\/runcloud\/webapps\/lojavirt
    ual-vasap\/wp-includes\/plugin.php(478): WP_Hook->do_action()\n#17 \/home\/runcloud\
    /webapps\/lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\/
    includes\/events\/class-activecampaign-for-woocommerce-cart-updated-event.php(33):
    do_action()\n#18 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\
    /class-wp-hook.php(289): Activecampaign_For_Woocommerce_Cart_Updated
    _Event->trigger()\n#19 \/home\/runcloud\/webapps\/lojavirtual-vasap\
    /wp-includes\/class-wp-hook.php(311): WP_Hook->apply_filters()\n#20 \/
    home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/plugin.php(478):
    WP_Hook->do_action()\n#21 \/home\/runcloud\/webapps\/lojavirtual-vasap\
    /wp-content\/plugins\/__woocommerce_old__\/includes\/class-wc-cart.php(1245):
    do_action()\n#22 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/
    plugins\/__woocommerce_old__\/includes\/class-wc-form-handler.php(886):
    WC_Cart->add_to_cart()\n#23 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\
    /plugins\/__woocommerce_old__\/includes\/class-wc-form-handler.php(772):
    WC_Form_Handler::add_to_cart_handler_variable()\n#24 \/home\/runcloud\/webapps\
    /lojavirtual-vasap\/wp-includes\/class-wp-hook.php(287): WC_Form_Handler::add
    _to_cart_action()\n#25 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\
    /class-wp-hook.php(311): WP_Hook->apply_filters()\n#26 \/home\/runcloud\/webapps\
    /lojavirtual-vasap\/wp-includes\/plugin.php(478): WP_Hook->do_action()\n#27
    \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-settings.php(568): do_action()
    \n#28 \/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-config.php(105):
    require_once(‘\/home\/runcloud\/…’)\n#29 \/home\/runcloud\/webapps\/lojavirtual
    -vasap\/wp-load.php(37): require_once(‘\/home\/runcloud\/…’)\n#30 \/home\/runcloud\
    /webapps\/lojavirtual-vasap\/wp-admin\/admin-ajax.php(22): require_once(‘\/home\/runcloud\
    /…’)\n#31 {main}”}
    Context: {
    “stack trace”: [
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\/includes\/repositories\/class-activecampaign-for-woocommerce-ecom-order-repository.php”,
    “line”: 155,
    “function”: “create_and_set_model_properties_from_api”,
    “class”: “Activecampaign_For_Woocommerce_Ecom_Order_Repository”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\/includes\/commands\/class-activecampaign-for-woocommerce-update-cart-command.php”,
    “line”: 166,
    “function”: “create”,
    “class”: “Activecampaign_For_Woocommerce_Ecom_Order_Repository”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/class-wp-hook.php”,
    “line”: 287,
    “function”: “execute”,
    “class”: “Activecampaign_For_Woocommerce_Update_Cart_Command”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/class-wp-hook.php”,
    “line”: 311,
    “function”: “apply_filters”,
    “class”: “WP_Hook”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/plugin.php”,
    “line”: 478,
    “function”: “do_action”,
    “class”: “WP_Hook”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/activecampaign-for-woocommerce\/includes\/events\/class-activecampaign-for-woocommerce-cart-updated-event.php”,
    “line”: 33,
    “function”: “do_action”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/class-wp-hook.php”,
    “line”: 289,
    “function”: “trigger”,
    “class”: “Activecampaign_For_Woocommerce_Cart_Updated_Event”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/class-wp-hook.php”,
    “line”: 311,
    “function”: “apply_filters”,
    “class”: “WP_Hook”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/plugin.php”,
    “line”: 478,
    “function”: “do_action”,
    “class”: “WP_Hook”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/__woocommerce_old__\/includes\/class-wc-cart.php”,
    “line”: 1245,
    “function”: “do_action”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/__woocommerce_old__\/includes\/class-wc-form-handler.php”,
    “line”: 886,
    “function”: “add_to_cart”,
    “class”: “WC_Cart”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-content\/plugins\/__woocommerce_old__\/includes\/class-wc-form-handler.php”,
    “line”: 772,
    “function”: “add_to_cart_handler_variable”,
    “class”: “WC_Form_Handler”,
    “type”: “::”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/class-wp-hook.php”,
    “line”: 287,
    “function”: “add_to_cart_action”,
    “class”: “WC_Form_Handler”,
    “type”: “::”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/class-wp-hook.php”,
    “line”: 311,
    “function”: “apply_filters”,
    “class”: “WP_Hook”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-includes\/plugin.php”,
    “line”: 478,
    “function”: “do_action”,
    “class”: “WP_Hook”,
    “type”: “->”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-settings.php”,
    “line”: 568,
    “function”: “do_action”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-config.php”,
    “line”: 105,
    “args”: [
    “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-settings.php”
    ],
    “function”: “require_once”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-load.php”,
    “line”: 37,
    “args”: [
    “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-config.php”
    ],
    “function”: “require_once”
    },
    {
    “file”: “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-admin\/admin-ajax.php”,
    “line”: 22,
    “args”: [
    “\/home\/runcloud\/webapps\/lojavirtual-vasap\/wp-load.php”
    ],
    “function”: “require_once”
    }
    ],

    I just tried installing this plugin (version 1.2.16) and it caused a fatal error on my website.

Viewing 4 replies - 31 through 34 (of 34 total)
  • The topic ‘Plugin update causes fatal error’ is closed to new replies.