"Undefined property: App\Http\Controllers\MainController::$domain"