Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"trying to get property of..." #8

Open
Y2Kay opened this issue May 31, 2013 · 7 comments
Open

"trying to get property of..." #8

Y2Kay opened this issue May 31, 2013 · 7 comments

Comments

@Y2Kay
Copy link

Y2Kay commented May 31, 2013

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?

@wastubbs
Copy link

wastubbs commented Jun 3, 2013

On which page are you seeing this?

@thoralmighty
Copy link

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

@raudi88
Copy link

raudi88 commented Oct 12, 2013

I got the same message on the first page.

@jonathanblench
Copy link

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

@rog
Copy link

rog commented Jan 9, 2014

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

@itsmohit
Copy link

itsmohit commented Feb 8, 2014

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'])."' 

@jiagbrody
Copy link

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)."'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants