Welcome Guest, Not a member yet? Register   Sign In
Problem with model
#1

I tried to make a fire with a model like this
PHP Code:
function getByUsername($username)
{
return 
$this
->select('id')
->
where('username',$username)
->
asObject()
->
first(); 

Running normal on localhost (linuxmint, php7.2), but in vps (centos, php7.1) error and display message 
"whoops! we seem to have hit a snag. Please try again later"
can someone explain this?
Reply


Messages In This Thread
Problem with model - by titounnes - 09-30-2018, 03:40 AM
RE: Problem with model - by donpwinston - 09-30-2018, 06:09 AM
RE: Problem with model - by titounnes - 09-30-2018, 06:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB