Fatal error: Uncaught Error: Call to undefined function image_constrain_size_for_editor() in /srv/users/serverpilot/apps/thaiis/public/wp-includes/media.php:266 Stack trace: #0 /srv/users/serverpilot/apps/thaiis/public/wp-includes/media.php(953): image_downsize(2124, 'thumbnail') #1 /srv/users/serverpilot/apps/thaiis/public/wp-includes/media.php(1028): wp_get_attachment_image_src(2124, 'thumbnail', false) #2 /srv/users/serverpilot/apps/thaiis/public/wp-includes/post-template.php(1630): wp_get_attachment_image(2124, 'thumbnail', false, '') #3 /srv/users/serverpilot/apps/thaiis/public/wp-includes/media.php(2461): wp_get_attachment_link(2124, 'thumbnail', false, false, false, '') #4 /srv/users/serverpilot/apps/thaiis/public/wp-includes/shortcodes.php(356): gallery_shortcode('', '', 'gallery') #5 [internal function]: do_shortcode_tag(Array) #6 /srv/users/serverpilot/apps/thaiis/public/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(galler...', 'do_shortcode_ta...', '<p><!--:en--><s...') #7 /srv/users/server in /srv/users/serverpilot/apps/thaiis/public/wp-includes/media.php on line 266