Wordpress wp-admin Could not retrieve data error - wordpress

If I go to my Wordpress website everything is fine but if I want to login in wp-admin. I get an error saying "Could not retrieve data" in a blank page.
I already tried to delete any recently installed plugins but nothing worked.

Try removing plugins step by step, this might be caused by an update of on older plugin you already had installed before.
This seems to be a error message provided from a plugin. What I would do I would checkout this project locally and search trough the plugins directory for this error message. The file that provides the error message will be in the plugin directory that is causing the problem. After that I would disable or remove the plugin.

Try to rename the wp-content/plugins directory to something like wp-content/plugins2 using FTP or CPanel File Manager. Then access your admin dashboard wp-admin/index.php. If you can access the admin dashboard, then you can rename plugins directory back and check your plugins that causing the problem.

Related

Unable to access wordpress page after update

I'm facing an error with wordpress. I updated wordpress page by mistake and I'm getting error
The site is experiencing technical difficulties. Please check your
site admin email inbox for instructions.
When I try to access the page by admin. I can't revert the change since the unable to access the page from admin. Is there any way to fix this issue.
Kindly clarify your question, you updated one of the pages in your WordPress site or did you update WordPress to the latest version and got an error afterwards when trying to log in within the admin dashboard?
If it is a page you can't access, try disabling your plugins and see if it will be accessible. You can also try to enable WP_Debug to true from within the wp-config.php within your back-end file manager and see if the exact issue will be displayed so as to assist you with further troubleshooting.
Alternatively, if the issue arising is due to a WordPress update to the latest version, you can try renaming the plugins folder temporary from within your backend as a form of troubleshooting, if that fails, temporary rename your theme (/wp-content/themes/theme_name) to try and pinpoint the exact issue. All this can be done with the WordPress folder from cPanel, file manager.
If the above fails, go a step further and try doing stuff like PHP memory increase, post_max_size &c.
If all the above fails, refer to WordPress documentation on how to do a manual WordPress update and hopefully, the issue will be fixed.
Note: The above is just an insight of what you can look into and not a step by step guide to fixing the issue.

All admin and frontend pages are working except admin dashboard in wordpress

In wordpress, All admin and front end pages are working except admin dashboard is now working... i changed in htaccess. permalinks and checked in theme and plugin
On dashboard below error is coming
The yve.today page isn’t working
yve.today is currently unable to handle this request.
HTTP ERROR 500
Please help how to resolve this
I believe you have changed something either in your functions.php of theme or installed a new plugin so because of that you are seeing this error.
A 500 error means there is something wrong with a piece of code being executed, this would in your case (most likely) be caused by a plugin or your theme, the only way to test this is through deactivation.
I suggest to access your server via FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/WhatYourThemeName/, open functions.php and remove the code you added recently. or find it the recent plugin have installed recently and deactivate that to check.
I personally would recommend installing WordPress locally and testing any changes there before you do it on your live site.

WordPress website doesn't load after installing theme

I have installed: http://themeforest.net/item/123ecology-corporate-ecommerce-wordpress-theme/4561597 on my domain. It stops working as I activated it. Now an empty page is loading, either I try to load dashboard or front-end. I faced this problem earlier on another site. But on that it occurs for a few time.
My Current website is: http://primeimports.ca/
This usually happens when their is a PHP error in the theme's code. If you have access to the files via FTP perhaps, just delete the theme folder and your Wordpress installation will work again.

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.

Wordpress update errors

I just went to update one of my wordpress sites. It was my first time updating a wordpress site.
When i went to update the update screen hung for 20 minutes saying "installing". The website home page was still displaying the maintenance notification. I looked this up and the consensus seemed to be to ftp to the site and delete the "maintenance" file. I did this and now the homepage displays:
Fatal error: Call to undefined function get_front_page_template()......
When i went to mysite/wp-admin it said, "wordpress has been installed, you now need to update your databases". So i pressed the "Update Databases" button upon which i'm presented with the error:
Fatal error: Class 'WP_Theme' not found in.....
I have a feeling i've done something very stupid. Can anyone help me out?
Backup your current faulty setup via FTP.
Then download the wordpress version you were using from the Release Archive and replace the files of your wp-admin and wp-include folders using FTP.
This should make your wordpress installation work again.
The problem about the database is probably because the update wasn't completed.

Resources