Guest
Today at 10:29 PM
Type of error: General
http://localhost/wedge/index.php?localhost/wedge/index.php?action=admin;area=ban;sa=soft;ace465ae=80b35724d62f371a37399bdcebf8345e
2: in_array() expects parameter 2 to be array, null given
File: C:/wamp/www/wedge/Sources/Security.php
Line: 804
This is interesting. That particular line is:
Code: [Select]
That implies that we::$user['permissions'] never gets declared properly for guests. The code changes are so vast that I can't practically review them line by line. I'm not sure why the reported URL is even flagged, because I see no reason why it should be called.
What I need to do is extend error handling to be able to provide a full backtrace as well on errors. That might at least explain how we get to where we are.
Note: at no point have I been a guest in this installation; I've been logged in as an admin the whole time.
Today at 10:29 PM
Type of error: General
http://localhost/wedge/index.php?localhost/wedge/index.php?action=admin;area=ban;sa=soft;ace465ae=80b35724d62f371a37399bdcebf8345e
2: in_array() expects parameter 2 to be array, null given
File: C:/wamp/www/wedge/Sources/Security.php
Line: 804
This is interesting. That particular line is:
if (!is_array($permission) && in_array($permission, we::$user['permissions']))That implies that we::$user['permissions'] never gets declared properly for guests. The code changes are so vast that I can't practically review them line by line. I'm not sure why the reported URL is even flagged, because I see no reason why it should be called.
What I need to do is extend error handling to be able to provide a full backtrace as well on errors. That might at least explain how we get to where we are.
Posted: December 23rd, 2012, 11:37 PM
Note: at no point have I been a guest in this installation; I've been logged in as an admin the whole time.


