J4.x

FatalError: Difference between revisions

From Joomla! Documentation

Prazgod (talk | contribs)
m Updating
Line 1: Line 1:
{{review|copyedit|This page needs to be expanded to cover how to uncover the underlying error easier and also potential resolutions.}}
{{review|copyedit|This page needs to be expanded to cover how to uncover the underlying error easier and also potential resolutions.}}
{{inuse}}
{{incomplete}}
{{incomplete}}


[[File:Joomla-j4-fatal.png|thumb]]
== Introduction ==
 
From time to time Joomla may display an error page instead of the page you were expecting. There are two types of error page:
* The system error page has a red background. It is invoked if there is a serious error before the site or administrator template is rendered.
* The template error page looks like the normal site or administrator template but the content area is replaced with an error message. This is invoked when the error occurs in content code.
 
=== System Error Page ===
 
[[File:Joomla-j4-fatal.png]]


You're likely reading this because your Joomla site has had some sort of fatal error and given you a message similar to the above.
You're likely reading this because your Joomla site has had some sort of fatal error and given you a message similar to the above.

Revision as of 12:58, 19 April 2022

This Page Needs Your Help

This page is tagged because it NEEDS EDITING. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.

Reason: This page needs to be expanded to cover how to uncover the underlying error easier and also potential resolutions.


Page Actively Being Edited!

This j4.x page is actively undergoing a major edit for a short while.
As a courtesy, please do not edit this page while this message is displayed. The user who added this notice will be listed in the page history. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page. If this page has not been edited for several hours, please remove this template, or replace it with {{underconstruction}} or {{incomplete}}.

Content is Incomplete

This article or section is incomplete, which means it may be lacking information. You are welcome to assist in its completion by editing it as well. If this article or section has not been edited in several days, please consider helping complete the content.
This article was last edited by Ceford (talk| contribs) 4 years ago. (Purge)


Introduction

From time to time Joomla may display an error page instead of the page you were expecting. There are two types of error page:

  • The system error page has a red background. It is invoked if there is a serious error before the site or administrator template is rendered.
  • The template error page looks like the normal site or administrator template but the content area is replaced with an error message. This is invoked when the error occurs in content code.

System Error Page

You're likely reading this because your Joomla site has had some sort of fatal error and given you a message similar to the above.

There are two likely reason for this:

  • A system plugin is causing failures on your site
  • A change has been made to your host (e.g. a PHP version upgrade that isn't compatible with an extension or Joomla itself if you are running an old version)

How to resolve

If you've made any recent changes to your system plugins disable the system plugins one by one in the database until you find which one is responsible (remember you should not need to disable any core Joomla system plugins).

edit /configuration.php

Change

$debug = false;

to

$debug = true;

save the file and then reload the error page. This will then give you the REAL error message and a debug stack trace to help identify the root cause of the problem