a Fatal error: Dwoo_Security_Exception
Fatal error: Cannot access protected property Dwoo_Security_Exception::$message in /home/scararoshinto/volimribu.com/fuel/application/libraries/MY_Parser.php on line 235
But this is the code at 235:
catch (Exception $e)
{
show_error($e->message);
}
Does anyone have any idea on how to fix this? Thanks.
Comments
if (strtolower(get_class($e)) == 'dwoo_exception') { echo ('<div class="error">'.$e->getMessage().'</div>'); } else { show_error($e->getMessage()); }
I've updated the repo with the fix.