• Resolved ohtani

    (@trendmaster)


    I cannot save my settings in Woopayments
    Analyzing the error, “woocommerce_rest_api_option_permissions” is deprecated and the settings cannot be saved, deprecated in WooCommerce version 6.3.0 and later.Please let us know what we can do to enable saving.

    WooCommerce Version: 9.3.3
    WordPress Version: 6.2.2
    Regarding the specific settings page where the problem occurs:
    The error only appears on the WooPayments page. All other WooCommerce pages can be saved without issues. I have attached a screenshot of the problematic WooPayments settings page for your reference.
    https://drive.google.com/file/d/1ViM_nm5THwCVFEZ9PqGwhYuzvCnXB78y/view?usp=sharing
    https://drive.google.com/file/d/17JSR4HvveQsmJjrXfKcB_g2pjlM_uXNB/view?usp=sharing
    https://drive.google.com/file/d/1OipqTN8el-3Ibw304c4wVw78qCA89hbW/view?usp=sharing

    The specific error messages (there are two types):

    “PHP Deprecated: Hook woocommerce_rest_api_option_permissions is deprecated since version 6.3.0 with no alternative available in /home/…/public_html/wp-includes/functions.php on line 6085”

    “PHP Deprecated: Use of “parent” in callables is deprecated in /home/…/public_html/wp-content/plugins/woocommerce-payments/includes/admin/tasks/class-wc-payments-task-disputes.php on line 151″

    I don’t know what caused it.
    PLease help me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hello @trendmaster,

    Thank you for reaching out.

    It seems you’re encountering deprecated PHP errors related to the “woocommerce_rest_api_option_permissions” hook and the use of “parent” in a callable.

    To resolve this, please try following the steps below:

    1. Update all your plugins and themes to their latest versions if they’re not up-to-date already, especially the WooCommerce Payments plugin.
    2. Clear your WordPress and browser cache. Sometimes, old cached data can cause unexpected behavior.
    3. If the issue persists, try disabling all other plugins except WooCommerce and WooCommerce Payments to see if there’s a conflict. If the issue resolves, enable your plugins one by one to identify the conflicting plugin.
    4. If the issue still continues, please switch your theme to a default WordPress theme like Twenty Twenty-Four or Storefront. If this fixes the issue, the problem is likely with your theme, and you should contact the theme’s developer for assistance.

    Please remember to back up your site before making any changes.

    Looking forward to hearing from you soon.

    Plugin Support Feten L. a11n

    (@fetenlakhal)

    Hello!

    Since we haven’t heard back, I’ll mark this case as resolved. We’re here and ready to assist whenever you’re ready to pick things up.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.