How to Overcome 10 Common Problems Of WordPress

Overcome 10 Common Problems Of WordPress

Similar to other content management systems (CMS), there are times when an error occurs in WordPress. This error can be triggered by various reasons.

Even so, WordPress remains the most popular open-source application in the world due to the various advantages offered.

Besides being very easy to use and manage websites and content without the need to master programming languages, hundreds of free supporting features can be utilized to make your site look more attractive.

Read More: Differences Between SSD And HDD

10 Common Problems Of Amateur blogs

Several big global companies also use WordPress, including BBC America, The Rolling Stones, and The New Yorker. Therefore, common problems that might occur with WordPress shouldn’t make you hesitate to build your own website and content on WP.

Don’t worry Bloggerconcept fans, this article will discuss how to solve common problems with WordPress.

Make a Back-Up First

Keep in mind that before applying the recommended method, back up the website and database files first with the help of a plugin. The back up will prevent you from problems of loss or damage of data on the server.

Well, what are the common problems with WordPress? How to handle it? Read this article to the end. Let’s start!

Error Establishing a Database Connection

This problem is the most common problem for WordPress users. As the name suggests, this error message indicates that the website cannot be connected to the database. The database website refers to the place where all contents are stored, including posts, pages (page), and user information. That is, if you cannot access the database, your website will not function.

There are several causes for this error to occur, including problems with the hosting serverthe wp-config.php file, or even your website is being hacked. If the error arises due to the first cause, the hosting service provider will usually let you know if your database has been shut down because it has exceeded the quota or the server is down.

However, if it turns out everything is fine on the hosting server, immediately check the wp-config.php file to see if there are configuration errors or not. This is important to note because the wp-config.php file contains all information about the website database, so an error has likely occurred due to this configuration error.

To check the wp-config.php file, open the file using FTP or the file manager. Verify that the databasehost, username, and password are correct. If all the information is correct, reset the MySQL password manually.

The last solution, do a scan using the security tool to check whether your website has been hacked. WordPress could be the most popular open-source application, but in fact, WordPress is also vulnerable to security threats. If it’s been hacked, don’t panic! You can change your login information and restore the website from the back up that was made before.

404 Page Error

WordPress users are certainly familiar with this error which is usually triggered by an error in the permalink settings, so the server cannot find the requested page. Although this error is relatively harmless, it certainly still makes you crazy, right?

To avoid this, make sure to reconfigure the permalink link by opening the settings page, clicking the permalinks menu, and clicking save changes. Often, this method will fix the problem that occurred. But if that doesn’t work, you might need to manually edit the .htaccess file by logging into the server using FTP or the file manager, and enter the following code in it:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

500 Internal Server Error

This error message appears when there is an error on the server, but the server software cannot identify the error. There are many causes, namely the PHP memory limit is used up, plugins or themes installed are corrupted, or the .htacces file is damaged.

In the first solution, you can increase the memory limit by opening the wp-config.php file. Then, add the following line of code in the main PHP tag to increase the memory limit to 64M:

Define ('WP_MEMORY_LIMIT', '64M');

The second solution: Because this problem is usually caused by a damaged .htaccess file, you need to edit the .htaccess file by opening the .htaccess file from FTP or a similar file manager and renaming it with .htaccess_backup. After that, try refreshing your website and check if there are still errors. If the website is functioning properly, open the settings page and permalink menu, then click save changes to save the changes.

If changing the .htaccess file does not fix the problem, you need to disable all your plugins by clicking plugins > installed plugins. Click deactivate from the bulk-action menu, and click apply. Then, open your website, to make sure that the problem is resolved. Finally, reactivate your plugins one by one and see which plugins are causing the problem.

The last solution: Switch to the default theme. If you can access the dashboard, select the theme menu, and change the theme to the default theme of WordPress. Meanwhile, if you cannot access the dashboard or don’t have a default theme, enter the FTP client, open the theme-wp folder, and rename your current theme folder for something else. This method will make WordPress switch your theme to the default theme.

If the above solutions haven’t worked, try replacing your wp-includes and wp-admin folders with a new copy of WordPress. Save and upload before refreshing the browser.

White Screen of Death

A blank white screen without an error message, or commonly known as the White Screen of Death (WoD), is indeed confusing because you don’t know where to fix it. This problem can occur due to various causes.

Because the way to handle this error is not much different from how to resolve 500 Internal Server Errors that have been discussed above, then you can follow the same steps, namely increasing the PHP memory limit, using the default theme, and deactivating all plugins first before reactivating them one by one. You can also activate debug mode in WordPress by searching for the following line of code at the bottom of the wp-config.php file :

define (‘WP_DEBUG’, false);

Then, change the false option to true to enable debug mode. However, if the above solutions do not also resolve the problem, we suggest contacting your hosting service provider for technical support.

Unavailable for Scheduled Maintenance Error

During the process of updating a plugin or theme to the new version, WordPress always put your site in maintenance mode ( maintenance ) and displays the message “Briefly unavailable for scheduled maintenance.” If the update is successful, WordPress will automatically deactivate the maintenance mode.

But sometimes, due to slow response or low memory on the hosting server, the update process can be interrupted, so your site will be stuck in maintenance mode which is marked by the message “Unavailable for Scheduled Maintenance Error.” As a result, the site is inaccessible to both the admin and visitor.

To exit maintenance mode, you need to delete the .maintenance file by entering the installation directory via FTP or the file manager. If the .maintenance file is not found in the installation directory, then check your FTP client to display hidden files. After the .maintenance file is deleted, your site will also successfully exit maintenance mode.

Connection Timed Out

Another problem with WordPress is “Connection Timed Out” which means that the server is overloaded, so the server can not load the site after loading for some time.

This problem is most commonly encountered by shared hosting users, where server performance is greatly influenced by other sites that might control or misuse server resources. Therefore, increasing your hosting package needs to be taken into consideration to increase server resources.

Another alternative to overcome this is to increase the PHP memory limit, deactivate all plugins then reactivating them one by one, and use the default theme.

Upload: Failed to Write File to Disk

Please note in advance that every file on your site is always equipped with a set of permissions that affect the server’s ability to control your access to a file. So, if there is an error in the permission that is marked with the error message “Upload: Failed to write file to disk” when uploading files on WordPress, this means you cannot create or add new files to certain folders.

To fix this problem, you need an FTP client. The FTP client used in this tutorial is FileZilla which can be downloaded for free.

The first step, connect your site to FTP. Find the content-wp folder, then click file permissions. After a dialogue box appears, follow these settings:

– Owner permissions: Read, Write, Execute

– Group permissions: Read, Execute

– Public permissions: Read, Execute

– Numeric value: 755

– Recurse into subdirectories: Yes

– Apply to directories only: Yes

– Click OK to save changes

This setting will usually automatically allow you to create or add files again. But if you can’t, repeat the process again, by changing the settings by following the settings in the dialogue box.

– Owner permissions: Read, Write, Execute

– Group permissions: Read, Execute

– Public permissions: Read, Execute

– Numeric value: 644

– Recurse into subdirectories: Yes

– Apply to files only: Yes

– Click OK to save changes

Do you still encounter errors? If so, immediately contact your site host to ask for help.

Missing a Temporary Folder

Ever get the error message ” Missing a Temporary Folder ” while uploading images or updating themes and plugins? This problem occurs because of incorrect PHP settings on the server.

To overcome this, you need to access the server via FTP or file manager, and add the following function code to the wp-config.php file, placing it just before the line that says “That’s all, stop editing! Happy blogging.”

define (‘WP_TEMP_DIR’, dirname (__ FILE__). ‘/ wp-content / temp /’);

After saving changes, open the wp-content folder to create a new folder with the name temp in it. Now, you can upload images or update themes and plugins again.

Forgot Password

Not just you, almost everyone must have forgotten their account password if they have many accounts with different passwords.

The first thing that is usually done directly by WordPress users is clicking the Forgot Your Password link on the login page. In this way, you can recover all the detailed information needed to re-enter your account. But if this feature doesn’t work, there are two other alternative solutions.

The first solution, edit the functions.php file by visiting ../wp-content/themes/your_current_theme in FTP or file manager. Then, open the functions.php file and add the following code:

wp_set_password (‘DesiredNewPassword ', 1);

Enter the new password that you want in the place where it says “Desired New Password.” Save the changes and try to re-enter your site with a new password. After successfully logging in, don’t forget to delete the code that was previously added in the functions.php file.

The second solution is to reset the password via phpMyAdmin. The trick, enter the control panel and click phpMyAdmin. Find the website database, click the wp_users table from the table list to see your username, and click edit.

On the edit page, enter the new password in the user_pass column, and fill the function column with MD5 because phpMyAdmin uses MD5 encryption. Finally, save changes by clicking save changes.

The Sidebar Element Lies Below Content

The sidebar element on the website layout is usually displayed on the right or left side of your content, depending on what theme is used. However, if your sidebar element is not where it should be, which is at the bottom of the content, then several possibilities occur, including the theme used is broken or invalid HTML code.

For the first cause, the best way to do this is to update the theme if an updated version is available. If this method doesn’t fix the problem, you need to fix the invalid HTML code. This happens when you add a piece of HTML code to your site, but forget to close it with the </div> tag.

To determine whether invalid HTML code is really the source of the problem, open the page where you see this error happening. Then, right-click and click the view source code option to display all the HTML code used on the page. Check and make sure that there are no errors in the HTML code. The most appropriate way to find this error is to use the HTML code validation check tool thoroughly.

Another common cause is the disproportionate width ratio of elements in CSS. For example, if the width of your website layout is the only 960px, then you have to adjust the size of all the elements in it to make it look proportional, which is 600px for content elements, 300px for sidebar elements, and 60px for margins.

The last possible cause is the arrangement of elements in the wrong float property. This float property is what allows you to flatten the elements to the right and left. Thus, the preparation of the elements on the float property will greatly affect the appearance of the layout of the website thy.

Leave a Comment