facing Cannot read properties of null error after deploying next js app

Viewed 19

I deploy my next.js app in cPanel. The app is working properly in localhost but in cPanel it shows error of

TypeError: Cannot read properties of null (reading 'content')
    at main-aff9f5cd95c9bd16.js:1:10552
    at main-aff9f5cd95c9bd16.js:1:11029
    at Array.forEach (<anonymous>)
    at Object.updateHead (main-aff9f5cd95c9bd16.js:1:10400)
    at Object.t [as _pendingUpdate] (main-aff9f5cd95c9bd16.js:1:90322)
    at main-aff9f5cd95c9bd16.js:1:90761
    at ri (framework-4556c45dd113b893.js:1:93730)
    at Ss (framework-4556c45dd113b893.js:1:113957)
    at is (framework-4556c45dd113b893.js:1:106214)
    at jl (framework-4556c45dd113b893.js:1:46913)

I am disturbed by this error because I am not using any content variable in my project. I don't know from where this error is occurred. Kindly tell me how to solve this error.

0 Answers
Related