Skip to content

Cookie settings

Choose which kinds of cookies you allow. You can change your choice at any time via Cookie settings at the bottom of every page. Privacy statement

Necessary

Always on

Needed to log in, keep your cart and remember your choices. These are always on.

Which cookies?
  • weboke_sessie, weboke_klant, weboke_remember: your session and staying logged in
  • weboke_basket: your cart
  • wkBtwIncl: showing prices with or without VAT
  • wok_cookies: your cookie choice, 12 months

Measures which ad leads to a visit or order, so we do not pay for ads that do nothing.

Which cookies?
  • Google Ads via Google Tag Manager (_gcl_au, _gcl_aw), up to 90 days
  • OpenAI Ads, ads in ChatGPT
  • wok_aff: which partner referred you to us (affiliate programme), 60 days

4.6

Country and language

Each country has its own site, with prices and VAT for that country.

View

Error 500 or "critical error" on your website (also after a WordPress update)

Do you see a white screen, 500 Internal Server Error or, with WordPress, There has been a critical error on this website? Then your website's code is getting stuck. The server itself is usually fine. With the steps below, you can find the cause yourself in most cases.

First: what just changed?

A 500 error almost never comes out of nowhere. Did you just update a plugin, theme or WordPress, change the PHP version or edit something in .htaccess? Then first undo exactly that change. That's usually the quickest fix.

Check the error log

The error log tells you which file and which line is causing the error. Log in to DirectAdmin and open System Info & Files › Site Summary & Logs. Choose your domain and open the error log. The bottom lines are the newest. If you see, for example, PHP Fatal error with a path to wp-content/plugins/plugin-name, then you know which plugin is the culprit.

The error log of a domain in DirectAdmin showing a PHP message
The error log of your domain in DirectAdmin

WordPress: critical error after an update

After updating a plugin, theme or WordPress itself, this is by far the most common cause. If you can no longer access the WordPress admin, proceed as follows:

  1. Check your mailbox. When a critical error occurs, WordPress often sends an email to the admin address with a link to recovery mode. This lets you log in while the faulty plugin or theme is temporarily disabled, so you can turn it off or revert it yourself.
  2. No email? Disable the plugins via DirectAdmin. Open File Manager and go to domains/yourdomain.com/public_html/wp-content. Rename the plugins folder to, for example, plugins-off. WordPress will then disable all plugins.
  3. Is your site working again? Rename the folder back to plugins and turn the plugins back on one by one in WordPress until the error returns. Then you'll know which one it is. If you already know from the error log, just rename the folder of that one plugin.
  4. Is it the theme? Then rename the folder of your active theme in wp-content/themes. WordPress will fall back to a default theme, if one is still installed.
  5. Did you just change the PHP version? Revert it in Select PHP version. Read Changing the PHP version and PHP settings.

Go back to a working version

Can't figure it out and was the site working yesterday? Then restore a backup.

If you update via Installatron, always have Installatron make a backup first. See Updating WordPress and Joomla via Installatron.

Check your .htaccess

One incorrect line in .htaccess immediately causes a 500 error for the entire site. A well known example is a line left behind by a security plugin, such as php_value auto_prepend_file with a path to a file that no longer exists.

  1. In DirectAdmin, open System Info & Files › File Manager.
  2. Go to domains/yourdomain.com/public_html. Don't see a .htaccess file? Files that start with a dot are hidden. Turn on showing hidden files in File Manager.
  3. Rename .htaccess to, for example, .htaccess-old.
  4. Reload your website. If the error is gone, the problem is in the .htaccess file. Remove the faulty line and rename the file back.
The setting in File Manager to show hidden files
Showing hidden files such as .htaccess

Other causes

  • Not enough memory: if the error log shows Allowed memory size ... exhausted, increase memory_limit in Select PHP version.
  • Incorrect file permissions: folders should be set to 755 and files to 644.
  • Storage full: if your package is full, your website can no longer write anything. Check Disk Space on the DirectAdmin dashboard.

With Domain Health you can see at a glance whether your domain, website and SSL certificate are all in order.

Also see in the DirectAdmin manual: Showing and editing hidden files such as .htaccess and Site Summary and Logs: the error log and the access log.

Detailed explanation with screenshots: My website is white or shows a 500 error in the DirectAdmin manual.

Was this article helpful?

← Back to General hosting

One moment…

Set up your domains

For each domain, arrange the nameservers, the link to your hosting and who becomes the owner.

Loading your domains…