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-image.php(60): WPSEO_Schema_Image->generate_from_attachment_id(2441, '')
#2 /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-webpage.php(198): WPSEO_Schema_Image->generate_from_url('https://mindful...')
#3 /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-webpage.php(150): WPSEO_Schema_WebPage->get_first_content_image(973, 'https://mindful...')
#4 /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-webpage.php(72): WPSEO_Schema_WebPage->add_image(Array)
#5 /home/mindful/public_html/wp in /home/mindful/public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-image.php on line 115