If you have a WordPress website or blog and you are quite active with installing plug-ins and adding new themes to your site, you may encounter several errors. It can be frustrating to encounter such problems and if you do not know how to fix it, you will be frustrated even more. Most of the WP errors can be solved easily. Here are some of common WordPress errors along with their solutions:
Problem #1: Unable to Login – Lost Admin Password
When you are unable to remember your admin password and you are not able to recover password by using the ‘Lost your password’ link, you need to do the following to fix the problem.
1. You need to login into your cPanel and in the databases category, you need to click on phpMyAdmin.
2. Now, select your WordPress database and then go to wp_users.
3. You need to find your Username and then click on Edit
4. You can change your password by typing the new password in the respective user_pass field.
5. After this, you need to click on the dropdown menu under Function and then select MDS. Lastly, you need to click on Go.
Problem #2: WP Admin Dashboard Does Not Show Up Properly
When you login into your WP account, you will be able to see your account Dashboard. However, sometimes it may show up without CSS and everything may appear disarranged. Here is what you can do to fix this problem:
Such a problem can arise if your internet connection is not stable. You need to check your proxy connection and firewall to find out whether there is any problem related to it that is not allowing CSS to load. You can also try to clear the cookies of your firewall and proxy.
Sometimes installation of admin plug-ins can cause conflict and lead to this problem. You can try to upgrade it and if it does not solve your problem, you can deactivate it.
Problem #3: Error – Warning: Cannot Modify Header Information
After new WordPress installation or upgrade, you may encounter the following error on your browser: “Warning: Cannot modify header information – headers already sent by (output started at /path/blog/wp-config.php:34)”. Here is how you can fix this problem:
1. Through FTP, download wp-config.php and open it.
2. You need to check for spaces before <?php. If you find it, get rid of all the spaces.
3. The first character present at the first line should be <?php and there should be no space in between.
4. Remove spaces that are present ?>
5. The last character present at the last line should be <? and there should be no space in between
Problem #4: Can’t Access Login Page – Blank Page Displayed When You Access Your Blog or Admin Page
You may see a blank page when you access your blog or admin page. Mostly it occurs after an installation of new WP theme or WP upgrade. It won’t allow you to access your login page. Here is what you need to do to fix the problem:
By renaming the theme that you have installed and using through FTP can make the WordPress to switch to the default theme and you will then be able to access your WP login page and dashboard.
1. Go to wp-contents/themes directory by accessing it through FTP.
2. Rename your existing theme folder.
3. Access your WP login page and login.
4. Find out whether the theme is compatible with previous versions of WP.
5. Find out whether there is any coding in your theme that is causing this problem.
Problem #5 You Are Not Authorized To View This Page (403 Error)
You may encounter the following error messag “You Are Not Authorized To View This Page (403 Error)” after you login into your WP account. Here is how you can fix this problem:
If you have hosted your blog on Windows based server, you can experience this problem. Most probably, the error could be related to Directory Indexes.
1. Login into your cPanel.
2. Go to Web Options and then click on Directory Indexes section.
3. You need to simply add index.php to the Directory Indexes.