• Resolved bennytomte

    (@bennytomte)


    After completing a purchase with “SVEA CHECKOUT” you are sent to an “HTTP ERROR 500” page, if you go behind a step you can see the correct page with thank you / confirmation of the purchase.

    After contacting SVEA CHECKOUT, they say that the error is due to “WooCommerce PPOM”

    The error code displayed after purchase with “debug” enabled is shown below.

    Some tips on how to solve this?

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function ppom_woocommerce_rename_files(), 2 passed in /home/comfzgae/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected in /home/comfzgae/public_html/wp-content/plugins/woocommerce-product-addon/inc/woocommerce.php:957 Stack trace: #0 /home/comfzgae/public_html/wp-includes/class-wp-hook.php(286): ppom_woocommerce_rename_files(4326, Array) #1 /home/comfzgae/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/comfzgae/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home/comfzgae/public_html/wp-content/plugins/svea-checkout-for-woocommerce/inc/class-wc-gateway-svea-checkout.php(1161): do_action('woocommerce_che...', 4326, Array) #4 /home/comfzgae/public_html/wp-content/plugins/svea-checkout-for-woocommerce/inc/shortcodes/class-wc-svea-checkout-shortcode-checkout.php(390): WC_Gateway_Svea_Checkout->process_confirmation(4326) #5 /home/comfzgae/public_html/wp-includes/class-wp- in /home/comfzgae/public_html/wp-content/plugins/woocommerce-product-addon/inc/woocommerce.php on line 957

    • This topic was modified 7 years, 3 months ago by bennytomte.

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

Viewing 1 replies (of 1 total)
  • Hi,

    I see you are using an older version of WooCommerce which has some functions/hooks deprecated.

Viewing 1 replies (of 1 total)

The topic ‘svea checkout error’ is closed to new replies.