Fatal error: Uncaught Error: Call to undefined function image_constrain_size_for_editor() in /srv/users/serverpilot/apps/myanmarenduser/public/wp-includes/media.php:266 Stack trace: #0 /srv/users/serverpilot/apps/myanmarenduser/public/wp-includes/media.php(953): image_downsize('2991', 'full') #1 /srv/users/serverpilot/apps/myanmarenduser/public/wp-content/plugins/wordpress-seo/src/helpers/image-helper.php(103): wp_get_attachment_image_src('2991', 'full') #2 /srv/users/serverpilot/apps/myanmarenduser/public/wp-content/plugins/wordpress-seo/src/values/images.php(64): Yoast\WP\SEO\Helpers\Image_Helper->get_attachment_image_source('2991', 'full') #3 /srv/users/serverpilot/apps/myanmarenduser/public/wp-content/plugins/wordpress-seo/src/generators/twitter-image-generator.php(76): Yoast\WP\SEO\Values\Images->add_image_by_id('2991') #4 /srv/users/serverpilot/apps/myanmarenduser/public/wp-content/plugins/wordpress-seo/src/generators/twitter-image-generator.php(63): Yoast\WP\SEO\Generators\Twitter_Image_Generator->add_from_indexabl in /srv/users/serverpilot/apps/myanmarenduser/public/wp-includes/media.php on line 266