• Resolved inzewind

    (@inzewind)


    I have a critical error with the “accept stripe payments” extension when I want to change the price of an existing product. The problem doesn’t appear when I create a new product.

    My configuration:
    WordPress version 6.5.5
    Active theme: OceanWP (version 3.5.7)
    Current extension: Accept Stripe Payments (version 2.0.86)
    PHP version 8.1.29

    How can I solve this problem?

    ————————
    Details of error :

    Une erreur de type E_ERROR a été causée dans la ligne 1119 du fichier /home/zjql8706/un-art-de-vivre.com/wp-content/plugins/stripe-payments/admin/includes/class-asp-admin-product-meta-boxes.php. Message d’erreur : Uncaught TypeError: array_values(): Argument #1 ($array) must be of type array, null given in /home/zjql8706/un-art-de-vivre.com/wp-content/plugins/stripe-payments/admin/includes/class-asp-admin-product-meta-boxes.php:1119
    Stack trace: 0 /home/zjql8706/un-art-de-vivre.com/wp-content/plugins/stripe-payments/admin/includes/class-asp-admin-product-meta-boxes.php(1119): array_values(NULL) 1 /home/zjql8706/un-art-de-vivre.com/wp-includes/class-wp-hook.php(324): ASP_Admin_Product_Meta_Boxes->save_product_handler(1051, Object(WP_Post), true) 2 /home/zjql8706/un-art-de-vivre.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 3 /home/zjql8706/un-art-de-vivre.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 4 /home/zjql8706/un-art-de-vivre.com/wp-includes/post.php(4817): do_action(‘save_post_asp-p…’, 1051, Object(WP_Post), true) 5 /home/zjql8706/un-art-de-vivre.com/wp-includes/post.php(4930): wp_insert_post(Array, false, true) 6 /home/zjql8706/un-art-de-vivre.com/wp-admin/includes/post.php(453): wp_update_post(Array) 7 /home/zjql8706/un-art-de-vivre.com/wp-admin/post.php(227): edit_post() 8 {main}

    thrown

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Critical Error’ is closed to new replies.