I’m really new to wordpress and I had just encountered this error:
Uncaught Error: Call to undefined function wptexturize() in /var/www/wp-admin/menu-header.php:141
I also tried checking on https://developer.wordpress.org/reference/functions/wptexturize/ and I had traced the callers and functions used by this wptexturize() to no avail.
The main issue seems to be that the function is undefined. So I checked on the formatting.php file and there it was, clearly defined.
My guess is that the function is being called before it was even initialized. But please correct me if I am wrong.
If someone had encountered this issue before, I would really love to have some of your guidance on resolving this issue.
Thank you
Advertisement
Answer
sorry for the very long update.
We were able to finally resolve this. The site was under a malware attack and it was disrupting all the critical files for our site to properly function.
so a malware cleanup resolved the issue.
Thanks to GoDaddy Support for pointing this out and helping to resolve it