Wordpress admin after login shows "Could not retrieve data" error - wordpress

Yesterday I was working on a WordPress site, and it was perfectly working. And now today when I logged in through login details the blank page is appearing with this error:
Could not retrieve data.
I don't know what's wrong in that, suddenly it stopped working.

You could always take the usual steps :
Deactivate all plugins to see if one of them is causing the problem (you can do that by removing their folders from the wp-content/plugins directory).
You can also check your server logs, it might give you information, maybe a database connection 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.

Internal Server Error. I have issues when logging into wordpress site

Internal Server Error The server encountered an internal error or
misconfiguration and was unable to complete your request.
Please contact the server administrator at admin#example.com to inform
them of the time this error occurred, and the actions you performed
just before this error.
I checked on the internet, everyone asks login to word press. but the same error above occurs when I log in. Can anyone please help me? I am stuck with my work.
I had changed the permalink of the site. after that, the problem occurred. Is there any way to change it without logging?
There can really be a number of issues, but these are paramount.
.htaccess problems
A plugin you are using
Your hosting provider.
SOlution:
Access your hosting platform via FTP(Cpanel) and rename your current .htaccess(you must set hidden files to show in cpanel to see .htaccess) file to .htaccess-backup. then try logging in, WP will generate a new .htaccess.
If this does not work.
Rename your plugins folder to 'plugins.backup' and try logging in again. If you get to login, the problem is with one of your plugins. Reactivate your plugins one after the other and watch its effect.
Talk to your host.

Whenever I try to log to wordpress admin I get The page isn't redirecting properly error message

The frontend works correctly, it's only when trying to log in the backend that the error occurs.
On the frontend, I can see that I'm logged in (the black ribbon on the top), when I click on any link I get this error message too
Content Encoding Error
I tried everything I found on the web. Disabled plugins, updated WordPress and the theme to no avail.
I tried the same code on my local machine, and it's working flawlessly.
If you are using a MySQL server older than version 5.5.3, you might need to change your tables' character encoding back to utf8.
This might also help
I've been able to fix this issue thanks to #jpg0002 in his answer.
There were too many configurations on my vhost. I have simplified it and I can access the admin.

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.

Drupal6: Content Access Permissions can't be rebuilt

I created a new content type, so it wants me to rebuild content permissions. I clicked the link to do so. It progressed through but seemed to get hung up towards the end. It stayed in the same position for 20 minutes, so hit refresh. I got the following error message:
The content access permissions have not been properly rebuilt.
What is wrong here?
UPDATE: The problem appears to be with the Nodeaccess module. When I disable it, this problem goes away. When I re-enable it, the problem returns. I'm not sure what to do about it, as that module is essential to the functionality of my site.
UPDATE 2: I installed Content Access instead of Nodeaccess, but the problem persists. Perhaps it's some underlying issue with my site?
A few people on drupal.org have posted about changing database from mysqli to mysql in settings.php
Not sure if that is the right way, but here are the pointers https://drupal.org/node/363316

Resources