Uncaught Error: Attempt to assign property on null
I was migrating a code from v7.4 to 8.0 and encountered this error on one of my page but was unable to solve it i know in php v8.0 this error will be encountered as written in migrating docs error:...