{"id":5373260,"date":"2014-10-09T14:17:40","date_gmt":"2014-10-09T14:17:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/image-doesnt-appear-in-editor\/"},"modified":"2016-08-22T03:17:41","modified_gmt":"2016-08-22T03:17:41","slug":"image-doesnt-appear-in-editor","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/image-doesnt-appear-in-editor\/","title":{"rendered":"Image doesn&#039;t appear in editor."},"content":{"rendered":"<p>Hey,<\/p>\n<p>First, thanks for the great plugin, it&#8217;s been a huge help on my current project, but I seem to be having an issue with my recent server migration. The image to edit doesn&#8217;t appear.<\/p>\n<p>I was recently having server issues with an Amazon EC2 instance that my website was hosted on, so I was forced to back everything up with <a href=\"https:\/\/wordpress.org\/plugins\/updraftplus\/\">UpdraftPlus Backup and Restoration<\/a> &#8211; I took a backup of everything, Uploads\/Database, created a new EC2 Instance and Database, assigned a new IP address, updated WordPress from 3.9 to 4.0 and restored. A near identical clone.<\/p>\n<p>I didn&#8217;t use their <a href=\"http:\/\/updraftplus.com\/shop\/migrator\/\">Migrator<\/a> plugin because I figured everything would be fine since the URL wasn&#8217;t changing. It seems like it goes through and changes DB prefixes\/URLs<\/p>\n<p>Everything but this plugin (Post Thumbnail Editor) seems to be working fine. I started the error log (for the plugin), but nothing came up. When I looked at the JS Console in Firefox and &#8220;click crop and save&#8221;&#8230; I see this JS error:<\/p>\n<p>main.js &#8211; line 20<\/p>\n<pre><code>Error: u.thumbnails is undefined\ne.submitCrop\/u&lt;\/&lt;@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:130981\n.each@http:\/\/mysite.com\/wp-admin\/load-scripts.php?c=0&amp;load%5B%5D=jquery-core,jquery-migrate&amp;ver=4.0:2:2969\ne.submitCrop\/u&lt;@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:130941\nu\/&lt;\/T[o]\/y&lt;@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:103785\nan\/o\/l.promise.then\/l@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:46050\nan\/u\/&lt;.then\/&lt;@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:46737\nfn\/this.$get&lt;\/u.prototype.$eval@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:50713\nfn\/this.$get&lt;\/u.prototype.$digest@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:49586\nfn\/this.$get&lt;\/u.prototype.$apply@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:51052\ns@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:33791\ng@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:35702\njt\/&lt;\/S.onreadystatechange@http:\/\/mysite.com\/wp-content\/plugins\/post-thumbnail-editor\/js-build\/main.js:20:36184<\/code><\/pre>\n<p>I&#8217;ve also noticed that there are 2 ..\/admin-ajax.php files that return a 200, but they look like the call for the image<\/p>\n<p>Type: Image<br \/>\nStatus: 200<br \/>\n&#8230;but no image&#8230;<\/p>\n<p>http:\/\/mysite.com\/wp-admin\/admin-ajax.php?action=pte_imgedit_preview&#038;_ajax_nonce=f4de6463ef&#038;postid=873&#038;rand=20098<\/p>\n<p>http:\/\/mysite.com\/wp-admin\/admin-ajax.php?action=pte_imgedit_preview&#038;_ajax_nonce=f4de6463ef&#038;postid=873&#038;rand=20098<\/p>\n<p>Any ideas on what could be going on&#8230;?<\/p>\n<p>P.S. The post that have previously been modified, display their crops in the &#8220;View&#8221; tab, but the original problem is still around.<\/p>\n<p>Thanks.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/post-thumbnail-editor\/<\/p>\n","protected":false},"template":"","class_list":["post-5373260","topic","type-topic","status-closed","hentry","topic-tag-back-up"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5373260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5373260\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5373260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}