Fatal error: Call to a member function query() on null in /var/www/app/application/api/v2/SCCRM/Variables.php on line 25