Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

a Fatal error: Dwoo_Security_Exception

edited January 2011 in News & Announcements
Fatal error: Cannot access protected property Dwoo_Security_Exception::$message in /home/scararoshinto/ on line 235

But this is the code at 235:
catch (Exception $e)

Does anyone have any idea on how to fix this? Thanks.


  • edited 9:44PM
    That is a bug. That should have been fixed (and is in the 0.91 branch), but wasn't. The correct code is the following in the catch block:
    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.
Sign In or Register to comment.