Fatal error: Uncaught Error: Call to undefined function wp_get_attachment_caption() in /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-image.php:115
Stack trace:
#0 /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-image.php(78): WPSEO_Schema_Image->add_caption('')
#1 /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-webpage.php(179): WPSEO_Schema_Image->generate_from_attachment_id('17328')
#2 /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-webpage.php(147): WPSEO_Schema_WebPage->get_featured_image(17326, 'https://mindful...')
#3 /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-webpage.php(72): WPSEO_Schema_WebPage->add_image(Array)
#4 /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema.php(71): WPSEO_Schema_WebPage->generate()
#5 /home/mindful/public_html/wp-includes/class-wp-hook.php(286): WPS in /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-image.php on line 115