![]() |
Help Wordpress Experts... Got an error that we can't solve
Wordpress throws an error every time we try to add a new post. Everything else seems to work great!
We have also tried deleting the wordpress blog and then creating a fresh clean install. The problem returns. We're absolutely lost! Below is the error Code:
TypeError: Cannot read properties of undefined (reading 'decodeEntities') |
Did you possibly switch from Apache to Nginx?
|
change the theme to default
|
Quote:
Quote:
|
When I have a problem, it tends to be down to a plugin.
Try turning them all off and see if you still have a problem. The other thing I find can be the php is the wrong version for your wp site or for a plugin. |
you have Yoast? deactivate it all clear cache and try
|
it might be your ssl :helpme:helpme
|
Could be a config somewhere making the react files not work.
|
was the fresh install with a fresh database?
is the site on CloudFlare? |
Quote:
Went over to a different domain that we have. Totally clean install but wordpress session randomly expires. Haven't been able to stay logged in for more than a minute or two. Otherwise, everything works. Either the hosting service or wordpress have fucked with something. |
Quote:
|
Quote:
I would try another host |
Is it having the issue if you use a standard Twenty-something theme?
|
Quote:
Quote:
|
the issue is related to the gutenburg editor, and is likely a javascript conflict caused by a plugin or theme. It could be that another function is unsetting the 'decodeEntities' variable, hence the 'cannot read properties of undefined' message, or it could be as simple as an error in a block of js code that's breaking things.
your best bet is to install classic editor, get rid of gutenburg altogether, and never look back... even if that doesn't fix the above issue. this is the function that's breaking: https://developer.wordpress.org/bloc...html-entities/ without being able to see the site live, i'm not able to troubleshoot further, but I'm 99% sure there's a javascript conflict somewhere. |
Quote:
I installed classic editor and suddenly I'm able to write again. A test post seems to work without a problem. Honestly, I didn't even know that the default editor was gutenburg. We've uninstalled, installed, reconfigured apache, trouble shot java, etc. This was a royal annoying problem that no one seemed to have the answer for and that includes the shmucks that built wordpress. I absolutely will keep my eyes open for any way I can repay the favor. (Including paying it forward) |
the people who i develop wordpress themes for do not like gutenberg, i developed my theme for classic, since they want to either plug external urls, or just create a simple gallery in a post.
|
Quote:
|
I absolutely hate Gutenberg and only use classic on all my sites
|
Quote:
OP, had you just googled "wordpress TypeError: Cannot read properties of undefined (reading 'decodeEntities')" you could have figured this out in 10 mins |
Quote:
|
https://codefaq.org/wordpress/how-to...-of-undefined/
For those that wish to use Gutenberg, that is the fix. |
Quote:
|
Quote:
when I tried it just now this is what my goog results looked like: https://i.imgur.com/O8YGNla.jpg I discovered Gutenberg's level of suckage when all of a sudden the menu widgets on my most important site stopped working. maybe cuz of my own prior searches the most relevant stuff shows at the top when it comes to the issue you were having the comments I read in solutions offered for my issue were amusing; the level of dislike of Gutenberg is astoundingly high. to the point that many themes come with the classic editor preinstalled (due to demand I suppose) wp can be bossy. for ex the 6.2 update auto-updated all the plugins and my theme on one of my sites and completely broke it. took me like a day and half and much cussing to fix. so annoying anyway, glad you got it resolved |
All times are GMT -7. The time now is 06:49 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc