Questions tagged [error-reporting]

Error reporting is a built-in PHP function that allows developers to control if and which kind of errors will be shown on web pages generated by Joomla.

Filter by
Sorted by
Tagged with
5 votes
1 answer
212 views

What is the best way for raising an error message in Joomla 4

I'm working on updating a component for Joomla 4. In the code, there are various bits where we raise an error code when for example the user is not authorised to access a certain part. For example in ...
user avatar
0 votes
1 answer
23 views

How to know the name of the file where the error is triggering in Joomla?

I am migrating a Joomla 3 website, but I am getting an error message. The issue is that Joomla is showing an error message, but it doesn't show the name of the file where the error is triggering. Any ...
user avatar
0 votes
0 answers
129 views

Joomla 4 not showing error in admin Panel

I am using Joomla 4 and working on a custom module and getting this error in my Joomla admin site. My problem is I am unable to get the error details instead I only get this Error: The 'atum' service ...
user avatar
  • 237
1 vote
0 answers
100 views

Joomla not logging PHP errors to file with system default error_reporting

I'm using Joomla 3.9 with APACHE + PHP 7.0 with these settings php_flag[display_errors] = On php_flag[display_startup_errors] = On php_value[error_reporting] = E_ALL & ~E_DEPRECATED & ~...
user avatar
5 votes
4 answers
5k views

Undefined variables: recommendedVersion and recommendedVersionEndOfSupport

I went into the "configuration.php", changed error reporting to "maximum", and now my Joomla admin page is suddenly blank white. Then when I go to my backend login page, I get the following error ...
user avatar
  • 53
2 votes
1 answer
569 views

TypeError: Form is Null on Button in Admin toolbar

I am receiving TypeError: form is null in the browser console when I select a custom button added to a form using JToolbarHelper. I can insert the button to any other component as is and it will ...
user avatar
  • 2,170
0 votes
2 answers
128 views

Only show PHP error messages to Super Admin

Is there a way to show PHP error messages only to a Super Admin? How are PHP error messages called or generated? I know in System Configuration we can set the level e.g. developer or none, would ...
user avatar
  • 1,819
1 vote
1 answer
124 views

How to debug an empty Bootstrap error generated by non-empty Tags field in a custom component?

Flowing on from my previous question about writing my first component (now called com_picture) which is nearly an exact clone of the com_contact directory, I have hit a snag with trying to save a new "...
user avatar
  • 4,388
3 votes
1 answer
89 views

Getting Joomla to be more verbose about errors

I'm having problems with a third party component and I'm trying to debug the issue. I get a failure with: An error has occurred. 0 Cannot access protected property UsersModelUser::$name but I'd like ...
user avatar
  • 492
0 votes
0 answers
157 views

Display errors set to none still shows warnings

When I set my Joomla config "Error reporting" to "none", I'm still seeing a PHP warning on the front of the site. However, when I set Error reporting" to "System Default" that warning is suppressed. ...
user avatar
  • 492
1 vote
1 answer
364 views

How to debug a 500 can't load error?

I have moved a website running joomla from my old VPS to my own server. The server is working fine, other sites are loading. However, this joomla site doesn't load. Please can someone explain what ...
user avatar
1 vote
1 answer
711 views

Backend: Disable Joomla's own way of displaying an error and getting the real PHP error shown?

I am getting an error like this in the backend running my own extension: Call to a member function setQuery() on null And because I am not clairvoyant I do need some more info about where the error ...
user avatar
  • 133
2 votes
1 answer
138 views

Custom 404 page shows unselected modules

I want to use a custom 404 page for my website, so I followed the directions I found here and here. However, when I trigger an error, the 404 message is embedded in the middle of my homepage, i.e., I ...
user avatar
  • 317
3 votes
2 answers
506 views

How to prevent Joomla from reporting database error information

I'm currently investigating SQL injection attack vectors in my application. Currently, Joomla is reporting database error output when returning a HTTP 500 error page. How do I prevent this? The ...
user avatar
  • 527
3 votes
2 answers
1k views

Get a stacktrace instead of error 0

I really need a stacktrace instead of a stupid "Error 0: Could not connect to MySQL". I've set debugging to on and error reporting to max. Any idea? Edit: Temporary solution: Hacking Joomla core. ...
user avatar
8 votes
2 answers
182 views

PHP error reporting

I'm trying to create a behaviour such as : if there's a php fatal error, I want the joomla error page to show up, but I also want to receive a mail telling me what the error was. The idea here is to ...
user avatar
  • 263
0 votes
1 answer
546 views

Koowa suddenly throwing strict errors

Got a call from a client today who suddenly had these errors on the site, on Joomla 2.5.28 Really interesting is - no one has made edits to this site in over a month, but these errors were not ...
user avatar
  • 1,328
1 vote
1 answer
439 views

Redirect Loop for category article that is linked on a menu item

I am refactoring a website which has the main menu items that link directly to a specific article of corresponding categories. Now for each of these menu items, there are children blog category menu ...
user avatar
  • 19.5k
0 votes
2 answers
346 views

See error line instead of: "500 - String could not be parsed as XML"

I would like to see the script and line where the error occurred instead of "500 - String could not be parsed as XML". Is there any way to turn off joomla error reporting so I can just see standard ...
user avatar
3 votes
3 answers
1k views

Render Joomla messages inside a template

I would like to render Joomla messages inside a component Template because the index.php doesn't fit my needs. So how do I simulate <jdoc:include type="message" /> inside /templates/<tmpl>...
user avatar
1 vote
2 answers
206 views

Unable to set error_reporting to show errors in a Joomla site. What's going on?

I am upgrading a Joomla 25 site to J3, and developing a new template. I am working locally on MAMP. However, whenever any php error occur, Joomla won't show what the error is, instead I am getting ...
user avatar
  • 19.5k
6 votes
3 answers
7k views

Could not find template

I tired more then hours,but i could not find the solutions for this issue. i have site with Joomla 3.4. i have move the files to my local system. config the data base and other things, but page show ...
user avatar
  • 193
0 votes
3 answers
368 views

Problems making a Toggle

I have been making an article in Joomla, and for doing it more visually, I want to show text when I click in a li. The problem is an error appears in the console... I don't know if the error it's ...
user avatar
  • 405
0 votes
2 answers
687 views

Javascript errors in console - jQuery Easy - JCH Optimize

When I open the console in http://ganeshgrow.es, I find these errors: http://gyazo.com/08e16657ef89f7c8ee0423fcc57b44fb Do you know what could it be? I have already installed JQuery Easy and JCH ...
user avatar
  • 405
2 votes
1 answer
1k views

Error after upgrading to joomla 3.3

Whilst trying to upgrade to Joomla 3.3, I get the following error: 1146 - An error has occurred. Table smilyo_skc.xv36g_postinstall_messages doesn't exist SQL=SHOW FULL COLUMNS FROM ...
user avatar
5 votes
3 answers
1k views

How to enable error_reporting only for administrator?

There are many times that I need to debug issues on the administration area of Joomla and need to do so on the live site. But I don't want to enable error_reporting also for the front-end. Is there ...
user avatar
  • 19.5k