"The editor has encountered an unexpected error." in wordpress - wordpress

I get the error "The editor has encountered an unexpected error." in wordpress when going into the editor, it also says "TypeError: Cannot read properties of undefined (reading 'parse')
at Fn (http://connos.info/blog/wp-includes/js/dist/blocks.min.js?ver=69022aed79bfd45b3b1d:10:35948)
at http://connos.info/blog/wp-includes/js/dist/edit-post.min.js?ver=2baffbeec6cbe5171dee:7:40099
at Object.useMemo (http://connos.info/blog/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:105804)
at e.useMemo (http://connos.info/blog/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:9:10749)
at Xt (http://connos.info/blog/wp-includes/js/dist/edit-post.min.js?ver=2baffbeec6cbe5171dee:7:39936)
at ct
at os
at Ur
at Ir
at Dr
I even tried disabling all plugins then deleting them and it still was broken.

It seems that you are encountering a JavaScript error in WordPress when trying to access the editor. This issue can be caused by a number of factors including conflicts between plugins, issues with your theme, or a corrupted WordPress installation. To resolve this issue, you can try the following steps:
Switch to the default WordPress theme to see if your theme is causing the issue.
Re-upload the core WordPress files to see if any files were corrupted.
If the above steps don't resolve the issue, you may want to contact your web host for further assistance as it could be an issue with the server configuration.
Also recommended to make a backup of your site before attempting any fixes, in case something goes wrong.

Related

I keep getting a blank admin page?

I have a WordPress site and now for some reason it no longer allows me to make changes via the admin backend. I just have this blank GUI, none of which make any change if you click on them
I just added a plugin called Monster insights to align the site with google analytics and since then I get this result. I have tried to rename the plugins folder to manually remove them out of the equation and still no luck. I have reviewed the Log file with little luck as well.
[04-Jun-2019 08:57:05 UTC] PHP Fatal error: Call to undefined function wp_is_recovery_mode() in /home/erwinb411/public_html/wp-admin/includes/update.php on line 840
[04-Jun-2019 08:18:10 UTC] PHP Warning: include_once(): Failed opening '/home/erwinb411/public_html/wp-content/themes/theme52521/includes/register-plugins.php' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in
i think is a problem of plugin's compatibility in your site.
Have you try to update wordpress core, plugin and theme?
if after update all you have the same problem is an compatibility issue.
Let me know.

Plugins giving error after Wordpress migration

I just moved a Wordpress site from one URL to the other. The website itself seems to work fine except when I try to login via /wp-admin I get the following error:
Fatal error: Allowed memory size of 100663296 bytes exhausted (tried
to allocate 122880 bytes) in
/home/deb52080/domains/r2blog.nl/public_html/wp-admin/includes/media.php
on line 2840
I allready run some tests by disabling a plugin and that seemed to have solved the problem (except that I need this plugin and I use it all the time). But the moment I clicked one a function from any other plugin I get the same error.
Hope somebody is able to help me. These are plugins that I use regularly (Smart Slider 3 and Fusion Builder from the Avada thema) and they never give any problem.
Did you happen to move your new site to Siteground as the host? There is a known conflict between the Avada theme and Siteground.
The suggested workaround is to simply go to the Avada menu in the admin panel, choose Register and then remove your API key and save it as blank. Be warned that doing so will eliminate the automatic theme updates Avada provides.
If that doesn't work this thread from the Avada community site provides some solutions on how to increase your memory limit in the wp-config file:
https://theme-fusion.com/forums/topic/fatal-error-allowed-memory-size-of-805306368-bytes-exhausted-tried-to-allocate/

Wordpress- server configuration

after configuring my WordPress on my big rock server, when i am trying to install new themes or plugins i am getting the below error message? I am just able to see the default templates but not other featured or popular themes or plugins.
it An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.

Cannot drag and drop widgets in admin

I'm currently helping someone with their Wordpress site. They are running Wordpress 3.5.1. The problem is that I cannot drag and drop any widgets into their widget areas. I ran the Javascript console and found this error:
Uncaught TypeError: Object [object Object] has no method 'hoverIntent'
load-scripts.php?c=0&load%5B%5D=admin-bar,hoverIntent,common,jquery-ui-core,jquery-ui-widget,jquery…:3
I have moved the whole Wordpress site to a testing server. The problem is that this Wordpress site is running a custom theme, and a bunch of plugins (even som custom as well), so I guess updating the WordPress-script is not an option, if I don't want to mess up things completely.
I have deactivated and removed both the theme and all plugins, and the problem still persists. I can't understand why, as it should technically be a clean WordPress install.
Any suggestions would be appreciated though!
Try deactivating plugins one by one and check to see if everything is ok. I has happened alot that plugins break javascript or css in the backend that cause some js functionalities to break.
Seems like I was missing some necessarry JS files in the wp-includes/js/ folder. Downloaded files from http://wordpress.org/download/release-archive/.

How to resolve a bad plugin server 500 error wordpress

I was just working on a Wordpress site and after updating a plug-in (which had not yet been activated, only installed) I activated it. Instead of the activation working, it gave me this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete >your request.
Please contact the server administrator, webmaster#ibsmithmedia.com and inform them of >the time the error occurred, and anything you might have done that may have caused the >error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an >ErrorDocument to handle the request.
I am getting this error on every page of my wordpress site, not just the plugin page or my user admin area.
How can I fix this? Is there a way to undo this plugin activation (I'm pretty sure it's what's causing the issue).
I don't have access to the actual FTP files of the site, I'm working on it for a friend. But I can get access if that's the only way to fix this. Thanks!
I would get access and delete the plugin.
That would be the fastest solution.
I ended up having to delete the folder for the plugin and then going to my htaccess file and remove extra lines that the plugin had added there as well. That resolved the issue.
First you need to connect to your website using FTP client, or File Manager in cPanel. Once connected, you need to navigate to the /wp-content/ folder.
Inside wp-content folder, you will see a folder called plugins. This is where WordPress stores all plugins installed on your website.
Right click on the plugins folder and select Rename. Change the name of the plugins folder to anything that you like. In our example, we will call it “plugins.deactivate”. Once you do this, all of your plugins will be deactivated.
Usually, this method is used when you are locked out of your admin area. If the issue was with your plugins, then you should be able login to your WordPress admin area.
Once you do that, go back to your /wp-content/ folder and rename “plugins.deactivate” back to plugins.
Now you can activate one plugin at a time until your site breaks again. At which point, you will know exactly which plugin caused the issue.

Resources