Website Without PHP
English (United States)US
  • English (United States)
  • Dutch (Netherlands)
Menu

Last updated:

Common PHP Errors: What They Mean and Where to Start

Your site shows a message from PHP, the language it runs on.

Which PHP version does your site report?

We read only what your site already sends in public: the headers and the top of the homepage. No scan, no login.

Get help with your website

More about this

Some messages are only advice and your site keeps working, others mean a page cannot load at all.

The first job is to tell which kind you have, because that decides how urgent it is for your visitors and your business.

The sections below help you decide.

Error

A PHP error is a message from the PHP engine saying that something in the code or the setup did not work, and the type of message tells you how serious it is. Notices and warnings usually let the page keep loading, while fatal errors and parse errors stop it.

What the main error types mean

PHP groups its messages by severity. A notice is a mild hint about something sloppy, such as code that was valid in older PHP versions but is now flagged. A warning is stronger: something failed, such as a file that could not be opened, but the script carries on.

A deprecated message says that a feature still works but is planned for removal. A fatal error stops the script immediately. A parse error, also called a syntax error, means PHP could not even read the code because of a typo, such as a missing semicolon or bracket.

Common causes

Most PHP errors come from a short list. Code written for an older PHP version may run into changes in a newer one. A plugin or theme can clash with another, or an update can finish only halfway.

A file can be missing or have the wrong permissions. A script can run out of memory or time. A typo in edited code is the classic reason for a parse error.

How to check it safely

Before you change anything, take a backup of files and database. Then read the error log, because it names the error type, the file and the line number. A message on the screen can show the same, but on a live site it is better to keep it off the screen, since paths and details are visible to every visitor.

Also check which PHP version the site runs, because many errors begin with a version change.

What you can try yourself

Keep the order simple. First, read the type and the file name in the log. Second, if the file belongs to a plugin or theme, deactivate it and see whether the error goes away.

Third, if you edited code recently, undo that edit. Fourth, look for the exact message on its own page in this error hub, since each common message has its own causes and steps. Fifth, restore a backup if the site is still broken.

Never share passwords with strangers.

When the PHP version is the cause

If the errors started after a PHP update, older code is the likely reason. Newer versions are stricter and remove old features, so messages such as deprecated notices can turn into fatal errors over time. The page on supported PHP versions on this site explains which versions the PHP project still maintains, so you know what to aim for.

When to get help

If you cannot find the file in the message, if the code is not yours, or if the site has to be back soon, bring in help. At Website Without PHP a human replies within 1 business day. A rush repair starts from $425, excluding VAT.

Frequently asked questions

Is a PHP error dangerous for my site?

Not always. Notices, warnings and deprecated messages usually leave the page working. Fatal errors and parse errors stop the page.

Any message that visitors can see is worth removing from the screen, because it can reveal file paths on your server.

Where do I find the full PHP error message?

In the PHP error log. Most hosting panels have a section for error logs, and the file is often called error_log or php_errors.log. The guide on showing PHP errors in this hub explains how to read it without showing anything to visitors.

Can a PHP error checker find every problem?

No. A syntax check such as php -l only tells you whether PHP can read a file. It does not run the code, so it will not catch errors that appear while a page loads, such as a missing function or too little memory.

The error log shows those.

Should I update PHP when I see errors?

Not in the middle of an outage. Fix the error first, then plan the update on a staging copy with a backup ready. Running a PHP version that still receives security fixes matters, but changing the version during a breakdown adds a second unknown.

Sources

Accessed on November 17, 2026.

  1. Domain
  2. Check
  3. Result
  4. Report

Which PHP version does your site run?

Enter your domain. We read only what your site already sends in public: the headers and the top of the homepage. No scan, no login.

We keep the domain and the result, never your IP address.