• kaepora

    (@kaepora)


    See the PHP log below – this is coming up on checkout page and it’s filling up the PHP log file. Any insight?

    I notice other issues haven’t been responded to. Would appreciate a response here. If the plugin is abandoned, please say so.

    [13-Nov-2021 10:29:19 UTC] PHP Warning:  Use of undefined constant WP_ENVIRONMENT_TYPE - assumed 'WP_ENVIRONMENT_TYPE' (this will throw an Error in a future version of PHP) in /home/customer/www/[removed]/public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/events/class-activecampaign-for-woocommerce-order-finished-event.php on line 1014
    [13-Nov-2021 11:06:05 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Activecampaign_For_Woocommerce_Sync_Guest_Abandoned_Cart_Command::generate_externalcheckoutid() in /home/customer/www/[removed]/public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/commands/class-activecampaign-for-woocommerce-add-cart-id-to-order-command.php:99
    Stack trace:
    #0 /home/customer/www/[removed]/public_html/wp-includes/class-wp-hook.php(305): Activecampaign_For_Woocommerce_Add_Cart_Id_To_Order_Command->execute(Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #1 /home/customer/www/[removed]/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /home/customer/www/[removed]/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home/customer/www/[removed]/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(386): do_action('woocommerce_che...', Object(Automattic\WooCommerce\Admin\Overrides\Order), Array)
    #4 /home/customer/www in /home/customer/www/[removed]/public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/commands/class-activecampaign-for-woocommerce-add-cart-id-to-order-command.php on line 99
Viewing 11 replies - 1 through 11 (of 11 total)
  • Same here. This error is causing problems with PayPal payment gateway. Orders can’t be completed and paid through PayPal because of this error. Disabling AC plugin fixes the problem and orders go through.

    njwebcreative

    (@bellabludesignshoppe)

    Same here! Customers can’t checkout with PayPal Standard OR our Stripe integration.

    njwebcreative

    (@bellabludesignshoppe)

    Please post here when there’s been a fix. Looks like the plugin was updated a couple days ago, which is when the problems started for us.

    @bellabludesignshoppe as a quick fix, you can either deactivate the plugin or downgrade to the previous version so you don’t lose sales. I submitted a ticket to AC support, but they tend to be slow over the weekend.

    njwebcreative

    (@bellabludesignshoppe)

    Thanks @viktorix! Yes, I deactivated the plugin and everything is working now – just can’t track abandoned sales as easily…but will get by for now. May look at other options either way.

    DreamPress

    (@dreampress)

    We are having a similar issue. No rollback by the way… zo how do we retrieve a 1.5.0 version?

    @dreampress you’re right. It appears developers do not use tags for versioning, so they only submit the latest version. There’s no way to roll it back unless you have a copy of the 1.5.0 version.

    Art Project Group

    (@artprojectgroup)

    Same issue here:

    [15-Nov-2021 16:03:28 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Activecampaign_For_Woocommerce_Sync_Guest_Abandoned_Cart_Command::generate_externalcheckoutid() in /home/xxx/public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/commands/class-activecampaign-for-woocommerce-add-cart-id-to-order-command.php:99
    Stack trace:
    #0 /home/xxx/public_html/wp-includes/class-wp-hook.php(305): Activecampaign_For_Woocommerce_Add_Cart_Id_To_Order_Command->execute(Object(WC_Order))
    #1 /home/xxx/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #2 /home/xxx/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(386): do_action('woocommerce_che...', Object(WC_Order), Array)
    #4 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1172): WC_Checkout->create_order(Array)
    #5 /home/xxx/public_html/wp-content/plugins/w in /home/xxx/public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/commands/class-activecampaign-for-woocommerce-add-cart-id-to-order-command.php on line 99

    Best regards.

    They pushed 1.5.2 out, but it still doesn’t work for me. Can you confirm if 1.5.2 fixed the issue for you or if you still experiencing it?

    Art Project Group

    (@artprojectgroup)

    Working!

    Best regards.

    I get: Warning: Use of undefined constant WP_ENVIRONMENT_TYPE – assumed ‘WP_ENVIRONMENT_TYPE’ (this will throw an Error in a future version of PHP) in /wp-content/plugins/activecampaign-for-woocommerce/includes/events/class-activecampaign-for-woocommerce-order-finished-event.php?on line?1014

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘PHP Fatal Error on Checkout’ is closed to new replies.