{"id":42313,"date":"2026-11-17T01:38:28","date_gmt":"2026-11-16T23:38:28","guid":{"rendered":"https:\/\/coma.lv\/2026\/11\/17\/wordpress-site-not-working-common-errors\/"},"modified":"2026-11-17T01:53:47","modified_gmt":"2026-11-16T23:53:47","slug":"wordpress-site-not-working-common-errors","status":"publish","type":"post","link":"https:\/\/coma.lv\/en\/2026\/11\/17\/wordpress-site-not-working-common-errors\/","title":{"rendered":"WordPress Site Not Working: Common Errors and What to Do"},"content":{"rendered":"\n<p>A WordPress website can stop opening at any moment: a white screen, a 500 error, a \u201ccritical error\u201d message, or a failed login to the admin panel. Most often the cause is not the server but a plugin, a theme or the latest update.<\/p>\n<p>In this article we have collected the errors clients most often come to us with, their likely causes and the first steps you can try yourself. If the site is a store or an important channel for customers, every hour of downtime costs money, and it is better to bring in a specialist straight away.<\/p>\n<h2>Before you start: a backup<\/h2>\n<p>Before making any changes, make sure there is a fresh backup \u2014 of both the files and the database. Most hosting companies create one automatically; check in the hosting control panel when the last one was made. If there is no backup, create one before fixing anything, otherwise the error can become harder to undo.<\/p>\n<h2>1. White screen or \u201cThere has been a critical error on this website\u201d<\/h2>\n<p>The white screen is a classic WordPress error: the page opens empty, with no message at all. In newer WordPress versions you see a critical error message instead, and the administrator receives an e-mail with a link to recovery mode.<\/p>\n<p>The most common causes are a plugin or theme conflict after an update, incompatibility with a newer PHP version, or the memory limit.<\/p>\n<p>What to do:<\/p>\n<ul>\n<li>open the link from the WordPress critical error e-mail \u2014 in recovery mode you can deactivate the faulty plugin;<\/li>\n<li>if there is no e-mail, rename the <code>wp-content\/plugins<\/code> folder via the hosting file manager or FTP to deactivate all plugins, then switch them back on one by one;<\/li>\n<li>if the problem is in the theme, temporarily switch to a default WordPress theme;<\/li>\n<li>check the server error log \u2014 it usually shows the exact file causing the error.<\/li>\n<\/ul>\n<h2>2. 500 Internal Server Error<\/h2>\n<p>A 500 error means the server could not process the request, but it does not say why. With WordPress the most common causes are a corrupted <code>.htaccess<\/code> file, a plugin exceeding the memory limit, or wrong file permissions.<\/p>\n<p>First rename the <code>.htaccess<\/code> file and check whether the site opens; if it does, save the permalink settings in the admin panel and WordPress will create a new file. If that doesn&#8217;t help, proceed as with the white screen \u2014 deactivate plugins and look at the server error log.<\/p>\n<h2>3. Can&#8217;t log in to wp-admin<\/h2>\n<p>Login problems come in different forms: a forgotten password, a login page that keeps reloading, or a security plugin that has blocked your IP address after several wrong attempts.<\/p>\n<ul>\n<li>A forgotten password can be reset with the \u201cLost your password?\u201d link, provided the site can send e-mails.<\/li>\n<li>If the e-mail doesn&#8217;t arrive, the password can be changed via phpMyAdmin in your hosting or with WP-CLI.<\/li>\n<li>If the login page keeps reloading, clear your browser cookies and check that the site address in the settings matches the real one (with https and without an extra \u201cwww\u201d).<\/li>\n<li>If a security plugin has blocked you, wait for the lockout to expire or temporarily deactivate the plugin by renaming its folder.<\/li>\n<\/ul>\n<p>If unknown users appear in the admin panel or your password no longer works, the site may have been hacked \u2014 more on that below.<\/p>\n<h2>4. WordPress is not sending e-mails<\/h2>\n<p>Contact form messages don&#8217;t arrive, order confirmations land in spam, the password reset link never comes. The reason is usually that WordPress by default sends mail with the server&#8217;s PHP function, and mail servers often don&#8217;t trust such messages.<\/p>\n<p>The most reliable solution is to send mail via SMTP \u2014 with a plugin that connects to your e-mail service or a transactional e-mail service. Your domain also needs correctly set SPF, DKIM and DMARC records. After the changes, send a test message and check that it doesn&#8217;t end up in the spam folder.<\/p>\n<h2>5. Memory error (Allowed memory size exhausted)<\/h2>\n<p>This message means a PHP script ran out of the memory allocated to it. It often happens with heavy page builders, WooCommerce stores with many products, or during an import.<\/p>\n<p>The memory limit can be raised in the <code>wp-config.php<\/code> file or in the hosting PHP settings, but that is only a temporary fix. If the error keeps coming back, you need to find the plugin or process that uses too many resources.<\/p>\n<h2>6. Error establishing a database connection<\/h2>\n<p>The message \u201cError establishing a database connection\u201d means WordPress cannot reach the database. Possible causes: wrong details in <code>wp-config.php<\/code>, an overloaded or unavailable database server, or corrupted tables.<\/p>\n<p>If you haven&#8217;t changed anything, contact your hosting support first \u2014 the problem is often on the server side. If the database is corrupted, you can try to repair it with WordPress&#8217;s built-in repair tool or phpMyAdmin, but be sure to make a backup first.<\/p>\n<h2>7. The site is very slow<\/h2>\n<p>A slow site is not an \u201cerror\u201d in the narrow sense, but it loses visitors and Google rankings. The most common reasons are unoptimised images, too many plugins, no caching, or weak hosting. You can check the speed with Google PageSpeed Insights; more about what we do on the <a href=\"https:\/\/coma.lv\/en\/wordpress-speed-optimization\/\">WordPress speed optimization<\/a> page.<\/p>\n<h2>8. Signs that the site has been hacked<\/h2>\n<p>Some problems are not accidental. Be careful if:<\/p>\n<ul>\n<li>visitors are redirected to unfamiliar sites;<\/li>\n<li>Google search shows unfamiliar page titles or the warning \u201cThis site may be hacked\u201d;<\/li>\n<li>unknown users have appeared in the admin panel;<\/li>\n<li>your hosting has blocked the account because of malicious code;<\/li>\n<li>unknown PHP files have appeared among the site files.<\/li>\n<\/ul>\n<p>In that case deleting a plugin is not enough: you need to find how the attacker got in, clean the files and the database, and change all passwords. How we do this is described on the <a href=\"https:\/\/coma.lv\/en\/hacked-wordpress-repair\/\">hacked WordPress repair<\/a> page.<\/p>\n<h2>When it&#8217;s better to call a specialist<\/h2>\n<p>You can safely try deactivating plugins, renaming <code>.htaccess<\/code> and resetting a password yourself. It&#8217;s better to contact a specialist if:<\/p>\n<ul>\n<li>the site is an online store or your main source of customers;<\/li>\n<li>there is no fresh backup;<\/li>\n<li>you suspect a hack;<\/li>\n<li>the error persists after deactivating plugins;<\/li>\n<li>the database or server settings need to be changed.<\/li>\n<\/ul>\n<h2>How to prevent these problems<\/h2>\n<p>Most of these errors are caused by untested updates, outdated plugins and missing backups. That is why regular maintenance usually costs less than a single emergency repair.<\/p>\n<p>Our <a href=\"https:\/\/coma.lv\/en\/services\/wordpress-website-maintenance\/\">WordPress maintenance service<\/a> for \u20ac50 per month includes plugin and WordPress core updates, database optimisation, a site check after updates, and fixing things if something breaks. We wrote more about what maintenance includes in <a href=\"https:\/\/coma.lv\/en\/2026\/07\/16\/what-does-wordpress-website-maintenance-include\/\">What does WordPress website maintenance include?<\/a><\/p>\n<p>If your site is down right now, write or call \u2014 we&#8217;ll find the cause first and tell you how much time and money the fix will take.<\/p>\n<hr \/>\n<p><em>Our specialization is <a href=\"https:\/\/coma.lv\/en\/wordpress-development\/\">WordPress website development<\/a> and <a href=\"https:\/\/coma.lv\/en\/services\/wordpress-website-maintenance\/\">maintenance<\/a>. Contact us for a free consultation \u2014 <a href=\"mailto:vadim@coma.lv\">vadim@coma.lv<\/a>, <a href=\"tel:+37129394520\">+371 29394520<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A WordPress website can stop opening at any moment: a white screen, a 500 error, a \u201ccritical error\u201d message, or a failed login to the admin panel. Most often the cause is not the server but a plugin, a theme or the latest update. In this article we have collected the errors clients most often [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":42306,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1407,1225],"tags":[],"class_list":["post-42313","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-wordpress"],"_links":{"self":[{"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/posts\/42313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/comments?post=42313"}],"version-history":[{"count":1,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/posts\/42313\/revisions"}],"predecessor-version":[{"id":42315,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/posts\/42313\/revisions\/42315"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/media\/42306"}],"wp:attachment":[{"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/media?parent=42313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/categories?post=42313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/tags?post=42313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}