-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
profileUpdatePage Error #2
Comments
did you fix this error? |
unfortunately no. |
you are trying to render the objects directly that's why u are getting this error . it is happening in the api calling time and storing in state . make sure that your displaying the error message correctly . {error} incorrect method , {error.message} this method is correct
|
Thank you for the solution. i fixed my using this now its working properly
…On Mon, Jun 10, 2024 at 5:15 PM Chandan Kumar ***@***.***> wrote:
you are trying to render the objects directly that's why u are getting
this error . it is happening in the api calling time and storing in state .
make sure that your displaying the error message correctly .
{error}
incorrect method ,
{error.message}
this method is correct
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEKNMOERAEQJCDP5TLIXQXLZGWGUXAVCNFSM6AAAAABG3GCAZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYGEZDEOBXGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
after creating profile update page this errors occurred in web page and console how can we fix it
Unexpected Application Error!
Objects are not valid as a React child (found: object with keys {message, name, code, config, request, response}). If you meant to render a collection of children, use an array instead.
Error: Objects are not valid as a React child (found: object with keys {message, name, code, config, request, response}). If you meant to render a collection of children, use an array instead.
at throwOnInvalidObjectType (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:11222:17)
at reconcileChildFibers2 (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:11852:15)
at reconcileChildren (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:14292:37)
at updateHostComponent (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:14802:11)
at beginWork (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:15923:22)
at beginWork$1 (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:19749:22)
at performUnitOfWork (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:19194:20)
at workLoopSync (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:19133:13)
at renderRootSync (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:19112:15)
at recoverFromConcurrentError (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:18732:28)
at performConcurrentWorkOnRoot (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:18680:30)
at workLoop (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:197:42)
at flushWork (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:176:22)
at MessagePort.performWorkUntilDeadline (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:384:29)
**Here the error occur in console **
Argument
user
is missing.at Tn (C:\Users\Kavindu\Desktop\Push\api\node_modules@prisma\client\runtime\library.js:115:6855)
at In.handleRequestError (C:\Users\Kavindu\Desktop\Push\api\node_modules@prisma\client\runtime\library.js:122:6510)
at In.handleAndLogRequestError (C:\Users\Kavindu\Desktop\Push\api\node_modules@prisma\client\runtime\library.js:122:6188)
at In.request (C:\Users\Kavindu\Desktop\Push\api\node_modules@prisma\client\runtime\library.js:122:5896)
at async l (C:\Users\Kavindu\Desktop\Push\api\node_modules@prisma\client\runtime\library.js:127:11167)
at async addPost (file:///C:/Users/Kavindu/Desktop/Push/api/controllers/post.controller.js:44:21) {
clientVersion: '5.13.0'
}
The text was updated successfully, but these errors were encountered: