• Resolved sansab

    (@sansab)


    After the update of WooCommerce PayPal Payments to the version 2.3.1, I’m not able anymore to create a new coupon code.
    When I try to add a new coupon code I receive this error:

    Warning: Creating default object from empty value in /home/customer/www/forbicielioathome.com/public_html/wp-admin/includes/post.php on line 787

    Fatal error: Uncaught TypeError: Argument 1 passed to WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO::WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\{closure}() must be of the type string, null given, called in /home/customer/www/forbicielioathome.com/public_html/wp-includes/class-wp-hook.php on line 312 and defined in /home/customer/www/forbicielioathome.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/OXXO/OXXO.php:157 Stack trace: #0 /home/customer/www/forbicielioathome.com/public_html/wp-includes/class-wp-hook.php(312): WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO->WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\{closure}(NULL) #1 /home/customer/www/forbicielioathome.com/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #2 /home/customer/www/forbicielioathome.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/customer/www/forbicielioathome.com/public_html/wp-admin/includes/meta-boxes. in?/home/customer/www/forbicielioathome.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/OXXO/OXXO.php?on line?157

    Could you please help me?
    Thank you



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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @sansab

    Thank you for reaching out to us, we are here to help.

    In order to verify this situation, we would need to know what plugin you are using for the coupons. The default WooCommerce coupons don’t seem to be affected by this situation.

    It sounds like our plugin might be conflicting with another plugin on your site, but since we did not get more reports of this, we don’t believe that our plugin is causing this by itself (our support queue would have exploded if that was the case).

    This is why I would suggest performing a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the default theme Storefront and disabling all other plugins except for?WooCommerce and?PayPal Payments to see if the behavior persists. Here’s a guide that explains the steps in more detail: How to test for conflicts.

    Please let us know if this helps you identify the cause of this problem. If you want us to take a closer look, you might want to open a private engagement with us, so we can get the system report and logs in order to do this.

    Kind regards,
    Joost

    Thread Starter sansab

    (@sansab)

    Hi @joostvandevijver,
    thank you very much for your help.

    I disabled all plugins except for PayPal Payments and Woocommerce and the issue disappeared.

    There was a conflict with Astra theme but I updated it and there is no issue anymore.

    One again, thank you for your support.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @sansab

    that is awesome, I’m happy to hear we could be of assistance to you and guide you in the right direction. Don’t forget to give us a review if you have the time to do so.

    Kind regards,
    Joost

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WooCommerce PayPal Payments breaks coupon page’ is closed to new replies.