Tracker: Patches

1 (ok 3.1.4)Fatal error: Call to a member function isDisplayed - ID: 2682833
Last Update: Settings changed ( lem9 )

The following piece of code, in may cause a fatal error

Fatal error: Call to a member function isDisplayed() on a non-object in
libraries/Error_Handler.class.php on line 60

foreach ($this->_errors as $key => $error) {
if (! $error->isDisplayed()) {
$_SESSION['errors'][$key] = $error;
}

$error may not be an instance of PMA_Error but an empty array.



Cristian Rodriguez ( judas_iscariote ) - 2009-03-11 14:21

1

Closed

Accepted

Marc Delisle

PHP errors

For immediate release

Public


Comment ( 1 )

Date: 2009-03-22 12:25
Sender: lem9Project Admin & DonorAccepting Donations

Merged in subversion, thanks.


Attached File ( 1 )

Filename Description Download
PMA-trunk_fatal_error.patch fix for the problem Download

Changes ( 8 )

Field Old Value Date By
close_date - 2009-04-25 11:53 lem9
allow_comments 1 2009-04-25 11:53 lem9
status_id Open 2009-04-25 11:53 lem9
summary Fatal error: Call to a member function isDisplayed() ,, 2009-03-22 12:25 lem9
resolution_id None 2009-03-22 12:25 lem9
priority 5 2009-03-22 12:25 lem9
assigned_to nobody 2009-03-22 12:17 lem9
File Added 317373: PMA-trunk_fatal_error.patch 2009-03-11 14:21 judas_iscariote