Cupara
Well-known member
I have this file in a repo file and I may have to move the query to the cron file itself but I wanted to avoid that if possible.
Here is the code from the Repo file throwing the error:
	
	
	
		
Thanks
				
			Here is the code from the Repo file throwing the error:
		PHP:
	
	    public function updateRealms($n)
    {
        $db = \XF::db();
        $db->update(
            'xwow_realms'
            [
                'realm_stat'  => $n['status'] (This is the error line)
            ]
            'realm_name =  ?',
            [$n['name']]
        );
    }
	Thanks