Can't Update User Class Property

this is my code :

<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use backendless\Backendless; use backendless\services\user; use backendless\exception\BackendlessException; class LoginControllerAPI extends Controller { public function doLogin(Request $request) { try { $user = Backendless::$UserService->login($request->json()->get('EMAIL'), $request->json()->get('PASSWORD')); $user->setName('Thedy'); Backendless::$UserService->update($user); return json_encode("Success"); } catch(BackendlessException $e) { $response['Error'] = $e->getMessage(); return json_encode($response); } } } get this error when i try to update the name property : BackendlessException in C:\xampp\htdocs\ProjectName\vendor\backendless\sdk-for-php\backendless\src\model\BackendlessUser.php line 153: Called undefined function exclude. can u tell me how to do the right way thanks regards, Wendy

Hi Wendy,

This is a bug which we already fixed. You can get a fixed version from the github repository:


okay thanks for the fix fiuh…