@testopoho Did you try to debug the error.
The same thing happened to me because my update of WordPress has not completed correctly so I updated it through Cpanel and the error flew away.
Decent Chamuli
I just updated my WordPress version (to latest) from Cpanel and the issue is resolved.
Thanks
Decent Chamuli