• Resolved tonygao

    (@tonygao)


    The error message in debug.log is as below: (PHP 7.4, wordpress 5.8.3)

    PHP Deprecated: is_ajax is deprecated since version 6.1.0! Use wp_doing_ajax instead.

    File: /plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Assets/SettingsPageAssets.php line 62 (is_ajax)

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

    (@niklasinpsyde)

    Hi @tonygao,

    The method is_ajax was deprecated in the recent WooCommerce 6.1 update and PayPal Payments has been updated accordingly for our next release around the end of the month.
    This notice shouldn’t cause any problems though so there is no need to worry.

    Kind regards,
    Niklas

    Thread Starter tonygao

    (@tonygao)

    ?? Thanks!

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Otherwise, staying with WooCommerce 6.0 for a little longer should give other plugins enough time to implement the change. We are currently aiming for a 3-week update cycle but it will be 4 weeks this time due to the holidays.
    We don’t anticipate any problems either way though, as deprecated means, it will eventually stop working in the future.
    So I will mark this thread as resolved. Your feedback is highly appreciated though!
    For any further questions, feel free to reopen this thread or create a new one. Thanks!

    Kind regards,
    Niklas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ajax error!’ is closed to new replies.