• Resolved mommaroodle

    (@mommaroodle)


    I see more and more everyday, people reporting the same issue – it’s even in the SERPS’s – this needs to be addressed and fixed. I’m now on a daily basis having to check and clear my error logs and this is without a doubt a Woocommerce issue

    [16-Jul-2024 18:43:03 UTC] PHP Warning: Undefined array key “aria-describedby_text” in /home/xxxxxxxx/public_html/xxxxxxxxxxxxx/wp-content/plugins/woocommerce/templates/loop/add-to-cart.php on line 40

    I have found this article which explains nicely what the problem is and I’m sure it has to do with payment method

    https://excellentwebcheck.com/blogs/how-to-use-aria-describedby-the-right-way

    They go on to say the following

    When to use aria-describedby?

    aria-describedby should be used when an element needs a more extensive description. For example, an input field might need a more detailed explanation of the expected input. As a general rule of thumb: use aria-describedby only when the description contains complete or multiple sentences.

    A real-world example for aria-describedby would be the BIC or SWIFT code for a bank account number.

    I only started getting these error messages when I activated the following payment method

    “Take payments in person via BACS. More commonly known as direct bank/wire transfer.”

    • This topic was modified 7 months, 2 weeks ago by mommaroodle. Reason: added aditional info
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @mommaroodle,

    Thank you for bringing this to our attention. Can you tell us if you’re using the latest version of WooCommerce? Looking at the Github repo I see a change was done recently about this for version 9.0.0: https://github.com/woocommerce/woocommerce/pull/46897.

    I’m also asking our developers about this to learn more, as this is the second report I have seen in the past few days.

    Thanks!
    -OP

    I too have this issue. Using my own theme but only use woocommerce_hooks.

    Using version Version 9.1.2 of WooCommerce

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @dillx,

    Sorry to hear that you are experiencing the same issue.

    However, to align with?forum best practices, please create a new topic so we can address your issue(s) separately. You can create a new thread here: https://www.ads-software.com/support/plugin/woocommerce/#new-topic-0

    Thanks for understanding!

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi there ?? , @mommaroodle

    We haven’t heard from you in a while, so I’m going to mark this as resolved for now. Feel free to start a new thread or reply back if you have any more questions.

    You can also follow this PR to learn more about the fix for this issue that’s almost ready to go! ??

    All the best,
    Omar

    Hello,

    I still encounter this problem today:

    [25-Jul-2024 08:50:39 UTC] PHP Warning: Undefined array key “aria-describedby_text” in public_html/wp-content/plugins/woocommerce/templates/loop/add-to-cart.php on line 4

    woocommerce is updated to the latest version

    Can you help me?

    • This reply was modified 7 months, 1 week ago by taranis202.
    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @taranis202,

    Thank you for getting this into our attention.

    Please know that the fix for this issue seems to be ready to go in WooCommerce 9.3?as per this PR!

    You can follow the Github to stay up to date with any details.

    I hope this helps so far.

    Have checked out Github and it looks as though this is my issue. will see when the fix arrives.

    Hey, @dillx!

    Have checked out Github and it looks as though this is my issue. will see when the fix arrives.

    That’s great! We don’t have a specific date for 9.3.0 yet, but it should’t be long ??

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Undefined array key “aria-describedby_text”’ is closed to new replies.