UserPie icon indicating copy to clipboard operation
UserPie copied to clipboard

"trying to get property of..."

Open Y2Kay opened this issue 11 years ago • 7 comments

Notice: Trying to get property of non-object in .../models/funcs.user.php on line 170

Notice: Trying to get property of non-object in .../models/funcs.user.php on line 172

can you help please?

Y2Kay avatar May 31 '13 20:05 Y2Kay

On which page are you seeing this?

wastubbs avatar Jun 03 '13 12:06 wastubbs

This might have been on the registration page after submitting the form, because I'm getting it too right now.

thoralmighty avatar Sep 05 '13 16:09 thoralmighty

I got the same message on the first page.

raudi88 avatar Oct 12 '13 13:10 raudi88

Im getting this message when I go to any page. Was there any fix for this?

jonathanblench avatar Jan 01 '14 17:01 jonathanblench

Any updates about this error? I'm getting this:

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/users/models/funcs.user.php on line 170

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/users/models/funcs.user.php on line 172

also in the login page:

Notice: Undefined index: status in /Applications/XAMPP/xamppfiles/htdocs/users/login.php on line 131

rog avatar Jan 09 '14 02:01 rog

Modify file "funcs.user.php" on line 170 & 172 to this:

            user_id = '".$db->sql_escape($loggedInUser['user_id'])."'
            AND 
            password = '".$db->sql_escape($loggedInUser['hash_pw'])."' 

itsmohit avatar Feb 08 '14 11:02 itsmohit

fix fast some file, some code, some line 170 & 172, 0 errores...

            user_id = '".$db->sql_escape(@$loggedInUser->user_id)."'
            AND 
            password = '".$db->sql_escape(@$loggedInUser->hash_pw)."'

jiagbrody avatar Dec 19 '14 23:12 jiagbrody