Форумы / Cotonti / Support / Weird Error When de-activating new account

diablo
#1 04.05.2012 09:57

when i click the activation delete link in my mail it returns this

Fatal error: Cannot use object of type PDOStatement as array in /home/diablotr/public_html/modules/users/inc/users.register.php on line 148

 

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
Trustmaster
#2 04.05.2012 17:42

It's a bug. It should be $row, not $sql at that line. Please add a ticket on github ;)

May the Source be with you!