Fatal error: Uncaught Error: Call to undefined function has_post_thumbnail() in C:\inetpub\vhosts\divinetask.com\httpdocs\wp-includes\post-template.php:526 Stack trace: #0 C:\inetpub\vhosts\divinetask.com\httpdocs\wp-includes\post-template.php(455): get_post_class(Array, NULL) #1 C:\inetpub\vhosts\divinetask.com\httpdocs\wp-content\themes\xmag\template-parts\content-page.php(10): post_class() #2 C:\inetpub\vhosts\divinetask.com\httpdocs\wp-includes\template.php(724): require('C:\\inetpub\\vhos...') #3 C:\inetpub\vhosts\divinetask.com\httpdocs\wp-includes\template.php(671): load_template('C:\\inetpub\\vhos...', false) #4 C:\inetpub\vhosts\divinetask.com\httpdocs\wp-includes\general-template.php(168): locate_template(Array, true, false) #5 C:\inetpub\vhosts\divinetask.com\httpdocs\wp-content\themes\xmag\page-templates\no-sidebar.php(31): get_template_part('template-parts/...', 'page') #6 C:\inetpub\vhosts\divinetask.com\httpdocs\wp-includes\template-loader.php(98): include('C:\\inetpub\\vhos...') #7 C:\inetpub\vhosts\divine in C:\inetpub\vhosts\divinetask.com\httpdocs\wp-includes\post-template.php on line 526