?
avatar fazliddin
fazliddin
15 Feb 2016

I am developing a custom auth plugin and accidentally assigned value from non existing var:
$a = $b['hello']
where $b is not initialized. error_reporting is set to development. In such cases normal scripts give an error, but joomla did not say anything. Instead I got User not exists error.

avatar fazliddin fazliddin - open - 15 Feb 2016
avatar Bakual
Bakual - comment - 15 Feb 2016

Did you set the error reporting in Joomla configuration to development or in PHP?
Can you tell us a bit more in which place you expected the warning? Eg which plugin event / method your code was running in? Otherwise it's a bit hard to track down :smile:

avatar brianteeman brianteeman - close - 16 Feb 2016
avatar brianteeman brianteeman - change - 16 Feb 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-02-16 12:04:34
Closed_By brianteeman
avatar brianteeman brianteeman - close - 16 Feb 2016
avatar brianteeman brianteeman - close - 16 Feb 2016
avatar brianteeman
brianteeman - comment - 16 Feb 2016

It would be better if you asked this question at the Joomla! General Development forum https://groups.google.com/forum/#!forum/joomla-dev-general


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9125.

avatar brianteeman brianteeman - change - 8 Mar 2016
Labels Added: ?

Add a Comment

Login with GitHub to post a comment