Undefined array key “aria-describedby_text”
-
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 followingWhen to use aria-describedby?
aria-describedby
should be used when an element needs a more extensive description. For example, aninput
field might need a more detailed explanation of the expected input. As a general rule of thumb: usearia-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.”
- The topic ‘Undefined array key “aria-describedby_text”’ is closed to new replies.