{"ip_address":"127.0.0.1","uri":"\/api\/user\/favorite","method":"GET","controller_action":"App\\Http\\Controllers\\API\\FavoritController@myFavorites","middleware":["api","App\\Http\\Middleware\\LangAPiMiddleware","auth:user-api"],"headers":{"accept":"application\/json","authorization":"********","user-agent":"PostmanRuntime\/7.43.0","cache-control":"no-cache","postman-token":"5b244504-5f82-4501-9bbd-fd9189a0e087","host":"127.0.0.1:8000","accept-encoding":"gzip, deflate, br","connection":"keep-alive","cookie":"XSRF-TOKEN=eyJpdiI6ImVrVkg0a1pFOUpTY1U0TmpEUFNtelE9PSIsInZhbHVlIjoibW55Q0gzbktaVndmcmNtVU5hc1FTSFBLSUh1aXRmN1BtSUVDOExYcDVhbExBdXVMZ0tLQVdjbkRaMUVmbkpFU09BT2RGWDVrQnJtcjE4ZUxjUmZXdnZQQURJbnRQRGRBWUUvcTRnanJqUGZhQnFMbkV4andGUWQ3Z1RWRWJxdVMiLCJtYWMiOiIyMTIwYTFjNTFmZDJlZjcxY2ZhNjhlNGQzYjcxNzlhMzE4YWRiN2ViNDU2ZGQ1Yjk2MGYwMzc0ZjgzMmY3ODI0IiwidGFnIjoiIn0%3D; tawajood_session=eyJpdiI6ImIyR0VmZGllRXBIa2lENVdod0dVWXc9PSIsInZhbHVlIjoiTHNGN2xPMTlqZ3JUci9teWcxaTlIbkVUNmNLdlBpcWx2SkRxbUZtREtKMFNRcnVtUGpCSVhRSnlJdXhuQU91SXlGZ21VZHFUS2tFYWgweWVLYzZXb2ZuQ3NubEJ3dC9ObXpRZWNoTUVSUDNocU9IQ2l3Yy9zWllkUXVWK2JadE8iLCJtYWMiOiJmNTUyN2E1MzUwNTdmYzgwZTFmZGVhYTExZjgxZGQyYTFmMWQ4OGZiMWQ2OTMwMWIxYjVkZWU2YTZhNmEwYzkyIiwidGFnIjoiIn0%3D"},"payload":[],"session":[],"response_status":500,"response":{"message":"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'favorites.user_id_type' in 'where clause' (Connection: mysql, SQL: select * from `favorites` where `favorites`.`user_id_type` = App\\Models\\User and `favorites`.`user_id_id` = 1 and `favorites`.`user_id_id` is not null)","exception":"Illuminate\\Database\\QueryException","file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php","line":825,"trace":[{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php","line":779,"function":"runQueryCallback","class":"Illuminate\\Database\\Connection","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php","line":398,"function":"run","class":"Illuminate\\Database\\Connection","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php","line":3132,"function":"select","class":"Illuminate\\Database\\Connection","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php","line":3117,"function":"runSelect","class":"Illuminate\\Database\\Query\\Builder","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php","line":3705,"function":"Illuminate\\Database\\Query\\{closure}","class":"Illuminate\\Database\\Query\\Builder","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php","line":3116,"function":"onceWithColumns","class":"Illuminate\\Database\\Query\\Builder","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php","line":759,"function":"get","class":"Illuminate\\Database\\Query\\Builder","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php","line":741,"function":"getModels","class":"Illuminate\\Database\\Eloquent\\Builder","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Relations\\MorphMany.php","line":42,"function":"get","class":"Illuminate\\Database\\Eloquent\\Builder","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Concerns\\HasAttributes.php","line":621,"function":"getResults","class":"Illuminate\\Database\\Eloquent\\Relations\\MorphMany","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Concerns\\HasAttributes.php","line":559,"function":"getRelationshipFromMethod","class":"Illuminate\\Database\\Eloquent\\Model","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Concerns\\HasAttributes.php","line":484,"function":"getRelationValue","class":"Illuminate\\Database\\Eloquent\\Model","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php","line":2259,"function":"getAttribute","class":"Illuminate\\Database\\Eloquent\\Model","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\app\\Http\\Controllers\\API\\FavoritController.php","line":19,"function":"__get","class":"Illuminate\\Database\\Eloquent\\Model","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46,"function":"myFavorites","class":"App\\Http\\Controllers\\API\\FavoritController","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":264,"function":"dispatch","class":"Illuminate\\Routing\\ControllerDispatcher","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":210,"function":"runController","class":"Illuminate\\Routing\\Route","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":808,"function":"run","class":"Illuminate\\Routing\\Route","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":144,"function":"Illuminate\\Routing\\{closure}","class":"Illuminate\\Routing\\Router","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\app\\Http\\Middleware\\LangAPiMiddleware.php","line":29,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"App\\Http\\Middleware\\LangAPiMiddleware","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php","line":51,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"Illuminate\\Routing\\Middleware\\SubstituteBindings","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\Middleware\\Authenticate.php","line":64,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"Illuminate\\Auth\\Middleware\\Authenticate","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":119,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":807,"function":"then","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":786,"function":"runRouteWithinStack","class":"Illuminate\\Routing\\Router","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":750,"function":"runRoute","class":"Illuminate\\Routing\\Router","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":739,"function":"dispatchToRoute","class":"Illuminate\\Routing\\Router","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php","line":201,"function":"dispatch","class":"Illuminate\\Routing\\Router","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":144,"function":"Illuminate\\Foundation\\Http\\{closure}","class":"Illuminate\\Foundation\\Http\\Kernel","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\livewire\\livewire\\src\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware.php","line":19,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"Livewire\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php","line":21,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php","line":31,"function":"handle","class":"Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php","line":21,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php","line":51,"function":"handle","class":"Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"Illuminate\\Foundation\\Http\\Middleware\\TrimStrings","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\ValidatePostSize.php","line":27,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"Illuminate\\Http\\Middleware\\ValidatePostSize","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php","line":110,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\HandleCors.php","line":62,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"Illuminate\\Http\\Middleware\\HandleCors","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php","line":58,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"Illuminate\\Http\\Middleware\\TrustProxies","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks.php","line":22,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":183,"function":"handle","class":"Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php","line":119,"function":"Illuminate\\Pipeline\\{closure}","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php","line":176,"function":"then","class":"Illuminate\\Pipeline\\Pipeline","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php","line":145,"function":"sendRequestThroughRouter","class":"Illuminate\\Foundation\\Http\\Kernel","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php","line":1188,"function":"handle","class":"Illuminate\\Foundation\\Http\\Kernel","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\public\\index.php","line":17,"function":"handleRequest","class":"Illuminate\\Foundation\\Application","type":"->"},{"file":"D:\\Tawajood\\CHAA-BACKEND\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\resources\\server.php","line":23,"function":"require_once"}]},"duration":219,"memory":6,"hostname":"DESKTOP-SHSPADT","user":{"id":1,"name":"yousef","email":"yousef.elshrqawe@gmail.com"}}