• Resolved kaepora

    (@kaepora)


    Edit: Apologies you have more than one ActiveCampaign plugin… I will leave the below for reference for others.

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

    [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
    • This topic was modified 2 years, 5 months ago by kaepora.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kaepora

    (@kaepora)

    Not resolved but applies to a different plugin by same people. Left here for others for reference.

    It isn’t the only issue:

    [15-Nov-2021 17:13:50 UTC] PHP Fatal error: Uncaught Error: Call to undefined method Activecampaign_For_Woocommerce_Sync_Guest_Abandoned_Cart_Command::generate_externalcheckoutid() in //public_html/wp-content/plugins/activecampaign-for-woocommerce/includes/commands/class-activecampaign-for-woocommerce-add-cart-id-to-order-command.php:99

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