today I updated my wordpress to latest version but the update didnt complete & all the pages were throwing maintenance message so I deleted the maintenance file from the server, now I can access the index.php but still all other pages are disabled. I enabled the php debugging here's the error message
Fatal error: Class 'WP_Post_Type' not found in /home/******/public_html/shaheer.xyz/wp-includes/post.php on line 1031
Please help me with this