jim Posted October 23, 2017 Report Share Posted October 23, 2017 Strict standards: Only variables should be passed by reference in C:\wamp64\www\oop_php_login_projectfiles\models\m_auth.php on line 30 what does the above mean # Time Memory Function Location 1 0.0010 251576 {main}( ) ...\login.php:0 2 0.0180 288400 Auth->validateLogin( ) ...\login.php:21 login.php m_auth.php Quote Link to comment Share on other sites More sharing options...
administrator Posted October 23, 2017 Report Share Posted October 23, 2017 Hi, This has to do with the version of PHP. You should paste the PHP code in question, like the 5-10 lines around the error, not the whole page. That said, and not having looked at the code, it is probably because the code is passing in a function result, as the argument, into another function. So you fix this by creating a variable out of the function call, and pass the variable into the function. Stef Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.