{"id":4127,"date":"2022-02-03T18:00:33","date_gmt":"2022-02-03T12:30:33","guid":{"rendered":"https:\/\/www.hostnamaste.com\/blog\/?p=4127"},"modified":"2022-02-03T18:02:52","modified_gmt":"2022-02-03T12:32:52","slug":"common-wordpress-errors","status":"publish","type":"post","link":"https:\/\/www.hostnamaste.com\/blog\/common-wordpress-errors\/","title":{"rendered":"Most Popular WordPress Errors \u2013 Common WordPress Errors: Their Causes and Troubleshooting Steps"},"content":{"rendered":"<figure id=\"attachment_4130\" aria-describedby=\"caption-attachment-4130\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4130\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/Most-Popular-WordPress-Errors-\u2013-Common-WordPress-Errors-Their-Causes-and-Troubleshooting-Steps-HostNamaste.jpeg\" alt=\"Most Popular WordPress Errors \u2013 Common WordPress Errors- Their Causes and Troubleshooting Steps - HostNamaste\" width=\"1200\" height=\"661\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/Most-Popular-WordPress-Errors-\u2013-Common-WordPress-Errors-Their-Causes-and-Troubleshooting-Steps-HostNamaste.jpeg 1200w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/Most-Popular-WordPress-Errors-\u2013-Common-WordPress-Errors-Their-Causes-and-Troubleshooting-Steps-HostNamaste-300x165.jpeg 300w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/Most-Popular-WordPress-Errors-\u2013-Common-WordPress-Errors-Their-Causes-and-Troubleshooting-Steps-HostNamaste-1024x564.jpeg 1024w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/Most-Popular-WordPress-Errors-\u2013-Common-WordPress-Errors-Their-Causes-and-Troubleshooting-Steps-HostNamaste-768x423.jpeg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><figcaption id=\"caption-attachment-4130\" class=\"wp-caption-text\"><span style=\"font-family: Verdana, Geneva; font-size: 8pt; color: #000000;\"><strong>Most Popular WordPress Errors \u2013 Common WordPress Errors- Their Causes and Troubleshooting Steps &#8211; HostNamaste<\/strong><\/span><\/figcaption><\/figure>\n<h2><span style=\"font-family: Verdana, Geneva; font-size: 24pt;\"><strong>Common WordPress Errors &#8211; <\/strong><\/span><span style=\"font-family: Verdana, Geneva; font-size: 24pt;\"><strong>Most Popular WordPress Errors<\/strong><\/span><span style=\"font-family: Verdana, Geneva; font-size: 24pt;\"><strong>: Their Causes and Troubleshooting Steps -HostNamaste<\/strong><\/span><\/h2>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">Imagine that you want to check your website and instead of its content see that it\u2019s down. It may seem like a disaster but luckily, if you are running WordPress, almost any error you face, was encountered before and there\u2019s a way to fix it by performing the steps that helped many other users.<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\"><strong>So here we go with the most common errors and how to fix them:<\/strong><\/span><\/p>\n<div class=\"lwptoc lwptoc-autoWidth lwptoc-inherit\" data-smooth-scroll=\"1\" data-smooth-scroll-offset=\"24\" data-lwptoc-initialized=\"1\">\n<div class=\"lwptoc_i\">\n<h2 style=\"text-align: left;\"><span id=\"Database_Errors\" style=\"font-family: Verdana, Geneva; font-size: 24pt;\"><strong>Database Errors<\/strong><\/span><\/h2>\n<h3 style=\"text-align: left;\"><span id=\"Error_Establishing_a_Database_Connection\" style=\"font-family: Verdana, Geneva;\"><strong>Error Establishing a Database Connection<\/strong><\/span><\/h3>\n<figure id=\"attachment_4141\" aria-describedby=\"caption-attachment-4141\" style=\"width: 821px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4141\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/Database-errors-\u2013-Error-establishing-a-database-connection-\u2013-HostNamaste.png\" alt=\"Database errors \u2013 Error establishing a database connection \u2013 HostNamaste\" width=\"821\" height=\"207\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/Database-errors-\u2013-Error-establishing-a-database-connection-\u2013-HostNamaste.png 821w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/Database-errors-\u2013-Error-establishing-a-database-connection-\u2013-HostNamaste-300x76.png 300w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/Database-errors-\u2013-Error-establishing-a-database-connection-\u2013-HostNamaste-768x194.png 768w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><figcaption id=\"caption-attachment-4141\" class=\"wp-caption-text\"><span style=\"font-size: 12pt; font-family: Verdana, Geneva; color: #000000;\"><strong>Database errors \u2013 Error establishing a database connection \u2013 HostNamaste<\/strong><\/span><\/figcaption><\/figure>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">It\u2019s probably the most popular issue, especially for those who are in the middle of WordPress migration between hosting providers or importing the database to the existing websites. Usually, it\u2019s caused by the mismatch of the database details (database name, user, password, and host). To resolve it, make sure that the details in the WordPress configuration file\u00a0<strong><b>wp-config.php<\/b><\/strong>\u00a0that are located in the website file directory are corresponding to the ones that are actually on the server.<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\"><strong>Here\u2019s how it should look:<\/strong><\/span><\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4143\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/1.png\" alt=\"\" width=\"606\" height=\"514\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/1.png 606w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/1-300x254.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4144\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/2.png\" alt=\"\" width=\"534\" height=\"140\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/2.png 534w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/2-300x79.png 300w\" sizes=\"auto, (max-width: 534px) 100vw, 534px\" \/><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">If the hostname is \u201clocalhost\u201d it means that the database is hosted on the same account that the WordPress files. The highlighted details should be the same in the SQL settings in your control panel. For most commonly control panel cPanel, they may be found in the MySQL databases menu.<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">Make sure that the correct user is specified in the \u201cPrivileged users\u201d menu like in the screenshot:<\/span><\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4145\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/3.png\" alt=\"\" width=\"638\" height=\"229\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/3.png 638w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/3-300x108.png 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">Scroll down the page to \u201cCurrent users\u201d, find the correct one and set to change password:<\/span><\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4146\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/4.png\" alt=\"\" width=\"602\" height=\"127\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/4.png 602w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/4-300x63.png 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">And copy the password from the wp_config.php file<\/span><\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4148\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/5.png\" alt=\"\" width=\"514\" height=\"296\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/5.png 514w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/5-300x173.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">Then go back to the main control panel page, find \u201cPHPMyAdmin\u201d menu that is used to manage databases to check the prefix:<\/span><\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4149\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/6.png\" alt=\"\" width=\"570\" height=\"376\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/6.png 570w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/6-300x198.png 300w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">If you see a different prefix in the PHPMyAdmin, it\u2019s easier to correct it in the wp-config.php file.<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">When all the details are correct, the website should be up and running.<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">A less common issue connected with the database is SQL deadlock. It may occur for large WordPress installations where the code combined with the customized database schema leads to failure of a process because the resources required for its completion are used for other processes. While it\u2019s good for system integrity, it may cause issues with website performance. In order to\u00a0<strong><a href=\"https:\/\/www.sentryone.com\/sql-server\/sql-deadlock\" target=\"_blank\" rel=\"noopener\"><u>identify a deadlock query<\/u><\/a><\/strong>, you may involve a system administrator and examine the SQL logs to find out if the changes to the website code or server configuration are required. You may also find mentions in the general server logs looking similar to the one below:<\/span><\/p>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">2021\/03\/04 10:23:59 [error] 1236789#: * FastCGI sent in stderr: \u201cPHP message: WordPress database error Deadlock found when trying to get lock; try restarting transaction for query INSERT IGNORE INTO<\/span><\/p>\n<hr \/>\n<h2 style=\"text-align: left;\"><span id=\"500_Errors\" style=\"font-family: Verdana, Geneva; font-size: 24pt;\"><strong>500 Errors<\/strong><\/span><\/h2>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">There are 2 types of 500 error: \u201cInternal server error\u201d or \u201cHTTP 500 error\u201d. The second one is usually visible in Google Chrome and appears as a blank page in other browsers.<\/span><\/p>\n<h3 style=\"text-align: left;\"><span id=\"Internal_Server_Error\" style=\"font-family: Verdana, Geneva;\"><strong>Internal Server Error<\/strong><\/span><\/h3>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4150\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/7-e1621915221550.png\" alt=\"\" width=\"1088\" height=\"175\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/7-e1621915221550.png 1088w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/7-e1621915221550-300x48.png 300w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/7-e1621915221550-1024x165.png 1024w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/7-e1621915221550-768x124.png 768w\" sizes=\"auto, (max-width: 1088px) 100vw, 1088px\" \/><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">This one is peculiar to the Apache or Litespeed web server. One of the reasons for this error is incorrect permissions (the correct ones are 644 for files and 755 for folders).<\/span><\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4151\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/8.png\" alt=\"\" width=\"944\" height=\"447\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/8.png 944w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/8-300x142.png 300w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/8-768x364.png 768w\" sizes=\"auto, (max-width: 944px) 100vw, 944px\" \/><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">If permissions are fine, try checking the default file .htaccess. It is responsible for configuration settings and\u00a0<span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.hostnamaste.com\/blog\/the-top-10-wordpress-plugins-for-your-blog\/\"><strong>WordPress plugins<\/strong><\/a><\/span>\u00a0may add custom rules to it to function properly. Sometimes, these rules conflict with one another, so you may need to turn it off completely by renaming the file to confirm that\u2019s the cause before you go and\u00a0<a href=\"https:\/\/htaccessbook.com\/commenting-your-htaccess-code\/\" target=\"_blank\" rel=\"noopener\"><u><strong>disable the .htaccess rules<\/strong><\/u><\/a>\u00a0one by one.<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">Pro tip:\u00a0while renaming .htaccess, make sure to create a blank file, call it \u201c.htaccess\u201d and paste the default WordPress rule:<\/span><\/p>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">&lt;IfModule mod_rewrite.c&gt;<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">RewriteEngine On<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">RewriteBase \/<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">RewriteRule ^index\\.php$ \u2013 [L]<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">RewriteCond %{REQUEST_FILENAME} !-f<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">RewriteCond %{REQUEST_FILENAME} !-d<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">RewriteRule . \/index.php [L]<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">&lt;\/IfModule&gt;<\/span><\/p>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">Otherwise, it may cause 404 errors on sub-pages.<\/span><\/p>\n<h3 style=\"text-align: left;\"><span id=\"HTTP_500_Error\" style=\"font-family: Verdana, Geneva;\"><strong>HTTP 500 Error<\/strong><\/span><\/h3>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">This one is usually caused by a theme, plugin, or lack of php resources specified in the PHP configuration. To find out what\u2019s the case, go to the file directory of your website and locate the file \u201cerror_log\u201d and check the timestamps and messages. Usually, it bears the path to the faulty script and line containing the name of the theme or plugin causing the issue.<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\"><strong>Here are the examples of such errors:<\/strong><\/span><\/p>\n<h3 style=\"text-align: left;\"><span id=\"Theme-related_Error\" style=\"font-family: Verdana, Geneva;\"><strong>Theme-related Error<\/strong><\/span><\/h3>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">[06-May-2020 08:21:10 EST] PHP Fatal error: Uncaught Error: Call to undefined function greenmart_tbay_get_config() in \/home\/test\/public_html\/wp-content\/themes\/greenmart\/header.php:22<\/span><\/p>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">To resolve it, you can change the theme, in the PHPMyAdmin panel locating the correct database ( using the name from the wp-config.php, as shown before). Then find the table \u201coptions\u201d and then fields called\u201ctemplate\u201d and \u201cstylesheet\u201d.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4153\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/9.png\" alt=\"\" width=\"881\" height=\"431\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/9.png 881w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/9-300x147.png 300w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/9-768x376.png 768w\" sizes=\"auto, (max-width: 881px) 100vw, 881px\" \/><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">They contain the theme in use that needs to be replaced with a default WordPress theme. It\u2019s easy to find as it\u2019s a year\u2019s name i.e. twentytwentyone. First, confirm that it\u2019s present in your website directory&gt;wp-content&gt; themes.<\/span><\/p>\n<h3 style=\"text-align: left;\"><span id=\"Plugin-related_Error\" style=\"font-family: Verdana, Geneva;\"><strong>Plugin-related Error:<\/strong><\/span><\/h3>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">[01-May-2021 18:37:32 UTC] PHP Fatal error: Uncaught Error: Class \u2018Jetpack_SEO_Utils\u2019 not found in \/home\/test\/public_html\/wp-content\/plugins\/jetpack\/json-endpoints\/class.wpcom-json-api-get-site-endpoint.php:3<\/span><\/p>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">The changes are done in the same \u201coptions\u201d table, in the row \u201cactive_plugins\u201d. Open the content and copy it to a text editor to be able to use later. Then, you may either delete the content from the column \u201coption_value\u201d for \u201cactive plugin\u201d to disable all the plugins, or just the one from the error, by deleting its value.<\/span><\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4155\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/10.png\" alt=\"\" width=\"830\" height=\"26\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/10.png 830w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/10-300x9.png 300w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/10-768x24.png 768w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\"><strong>E.g. we have something like that:<\/strong><\/span><\/p>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">{i:0;s:37:\u201dasync-javascript\/async-javascript.php\u201d;i:1;s:27:\u201dautoptimize\/autoptimize.php\u201d;i:2;s:36:\u201dcontact-form-7\/wp-contact-form-7.php\u201d;i:3;s:21:\u201dflamingo\/flamingo.php\u201d;i:4;s:19:\u201djetpack\/jetpack.php\u201d;i:5;s:59:\u201dkliken-marketing-for-google\/kliken-marketing-for-google.php\u201d}<\/span><\/p>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">We will need to delete the highlighted part, and reduce the numbers for the succeeding values by one like this to keep the correct counting:<\/span><\/p>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">{i:0;s:37:\u201dasync-javascript\/async-javascript.php\u201d;i:1;s:27:\u201dautoptimize\/autoptimize.php\u201d;i:2;s:36:\u201dcontact-form-7\/wp-contact-form-7.php\u201d;i:3;s:21:\u201dflamingo\/flamingo.php\u201d;i:4;s:59:\u201dkliken-marketing-for-google\/kliken-marketing-for-google.php\u201d}<\/span><\/p>\n<hr \/>\n<h3 style=\"text-align: left;\"><span id=\"PHP_config-related_Error\" style=\"font-family: Verdana, Geneva;\"><strong>PHP config-related Error<\/strong><\/span><\/h3>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">[06-May-2020 08:21:10 EST] PHP Fatal error<strong><b>:<\/b><\/strong>\u00a0Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in\u00a0<strong><b>\/home\/test\/public_html\/wp-content\/plugins\/flamingo\/functions.php<\/b><\/strong>\u00a0on line\u00a0<strong><b>56<\/b><\/strong><\/span><\/p>\n<hr \/>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">To fix this one, you will need to modify php.ini settings paying attention to these parameters: memory_limit, post_max_size, max_input_vars, upload_max_filesize, and max_execution_time. To know the exact PHP values to set, you will need to consult the requirements of your theme and\u00a0<span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.hostnamaste.com\/blog\/wordpress-plugins-for-writers-and-writing\/\"><strong>WordPress plugins<\/strong><\/a><\/span>, or set them to the maximum right away. Here\u2019s an example of how the settings may look like:<\/span><\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4156\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/11.png\" alt=\"\" width=\"886\" height=\"340\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/11.png 886w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/11-300x115.png 300w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/11-768x295.png 768w\" sizes=\"auto, (max-width: 886px) 100vw, 886px\" \/><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva; font-size: 10pt;\"><strong>Also Read:\u00a0<span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.hostnamaste.com\/blog\/the-ultimate-best-wordpress-security-practices\/\">The Ultimate Best WordPress Security Practices for 2021 \u2013 HostNamaste<\/a><\/span><\/strong><\/span><\/p>\n<h2 style=\"text-align: left;\"><span id=\"404_on_Subpages\" style=\"font-family: Verdana, Geneva; font-size: 24pt;\"><strong>404 on Subpages<\/strong><\/span><\/h2>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">The main symptom is when the front website page is opening fine, and Speaking about 404 errors on subpages, the absence of the above mentioned default rule in .htaccess is the first thing to check. Another common fix for 404 on subpages is going to WordPress Admin Dashboard &gt;Settings &gt; Permalinks and switching them to Plain and then back to your custom structure. Here\u2019s what the settings look like:<\/span><\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4157\" src=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/12.png\" alt=\"\" width=\"1246\" height=\"478\" srcset=\"https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/12.png 1246w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/12-300x115.png 300w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/12-1024x393.png 1024w, https:\/\/www.hostnamaste.com\/blog\/wp-content\/uploads\/2022\/02\/12-768x295.png 768w\" sizes=\"auto, (max-width: 1246px) 100vw, 1246px\" \/><\/p>\n<h2 style=\"text-align: left;\"><span id=\"API_Errors\" style=\"font-family: Verdana, Geneva; font-size: 24pt;\"><strong>API Errors<\/strong><\/span><\/h2>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">When you want to use services like Google Maps, enable credit card payments, or use another integration, the plugins and widgets supporting these services are using\u00a0API-Gateway\u00a0to fetch the data from a third-party service to provide it on your website, or vice versa process the information entered on your website to other systems. When this connection cannot be established, you will see API errors. You can see them in error_log as usually, they are self-explanatory. They may occur due to different reasons. Incoming\/outgoing requests need to be established with a specific port that is closed by your hosting provider, there are incorrect API Keys or the IP addresses of the external servers need to be whitelisted. The investigation usually starts with going through the system requirements for the service in use, then checking error_log and contacting a hosting provider to clarify if there are any server-related restrictions that prevent using it.<\/span><\/p>\n<h2 style=\"text-align: left;\"><strong><span id=\"Conclusion\" style=\"font-family: Verdana, Geneva; font-size: 24pt;\">Conclusion<\/span><\/strong><\/h2>\n<p style=\"text-align: left;\"><span style=\"font-family: Verdana, Geneva;\">Sometimes, WordPress errors may indeed look scary, but as you can see, most of them can be resolved by following simple steps to identify. And even if you need to address a specific case to a web developer, you will be able to save time for the investigation and speed up the resolution, by providing them with steps you followed and the errors you found to make the work easier.<\/span><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Common WordPress Errors &ndash; Most Popular WordPress Errors: Their Causes and Troubleshooting Steps -HostNamaste Imagine that you want to check your website and instead of&hellip;<\/p>\n","protected":false},"author":2,"featured_media":4130,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2928,1981,1564,1565,1983,1987,1985,1694,1996,836,1591,2922,1986,1589,1989,1988,840,839],"tags":[2940,2935,2941,2931,2933,2929,2930,2936,2932,2939,2938,2937,432,2934],"class_list":["post-4127","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-common-wordpress-errors","category-the-top-10-wordpress-plugins-for-your-blog","category-the-ultimate-best-wordpress-security-practices","category-the-ultimate-best-wordpress-security-practices-for-2020","category-top-10-wordpress-plugins","category-top-10-wordpress-plugins-2020","category-top-10-wordpress-plugins-for-blogs","category-update-wordpress-software-and-plugins","category-wordfence-security","category-wordpress","category-wordpress-backups-solutions","category-wordpress-plugins","category-wordpress-plugins-for-your-blog","category-wordpress-scanning-for-malware-susceptibilities","category-wordpress-security","category-wordpress-security-practices","category-wordpress-com","category-wordpress-org","tag-404-on-subpages","tag-500-errors","tag-api-errors","tag-common-errors","tag-common-wordpress-errors","tag-database-errors","tag-error-establishing-a-database-connection","tag-http-500-error","tag-most-popular-wordpress-errors","tag-php-config-related-error","tag-plugin-related-error","tag-theme-related-error","tag-wordpress","tag-wordpress-errors"],"acf":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/posts\/4127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/comments?post=4127"}],"version-history":[{"count":18,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/posts\/4127\/revisions"}],"predecessor-version":[{"id":4159,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/posts\/4127\/revisions\/4159"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/media\/4130"}],"wp:attachment":[{"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/media?parent=4127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/categories?post=4127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostnamaste.com\/blog\/wp-json\/wp\/v2\/tags?post=4127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}