Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author sewpafly

    (@sewpafly)

    What version of wordpress are you using?

    What error do you get if you enable debugging ( Settings → Post Thumbnail Editor)?

    Thread Starter Erocanti

    (@erocanti)

    TypeError: Cannot read property 'thumbnail' of undefined
        at Object.eval (https://localhost/wp-content/plugins/post-thumbnail-editor/js/controllers/CropCtrl.coffee:168:42)
        at Function.v.extend.each (https://localhost/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery,utils&ver=3.5.1:2:14543)
        at eval (https://localhost/wp-content/plugins/post-thumbnail-editor/js/controllers/CropCtrl.coffee:165:15)
        at https://localhost/wp-content/plugins/post-thumbnail-editor/apps/angular/angular-resource.min.js:8:255
        at h (https://localhost/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:77:33)
        at https://localhost/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:77:266
        at Object.e.$eval (https://localhost/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:87:347)
        at Object.e.$digest (https://localhost/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:85:198)
        at Object.e.$apply (https://localhost/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:87:506)
        at e (https://localhost/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:94:38)
        at o (https://localhost/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:97:123)
        at XMLHttpRequest.s.onreadystatechange (https://localhost/wp-content/plugins/post-thumbnail-editor/apps/angular/angular.min.js:98:259) angular.min.js:61

    edit: using wp 3.5.1, and lastest version of the plugin

    Plugin Author sewpafly

    (@sewpafly)

    Assuming you were accessing this URL: https://wordpress/wp-admin/upload.php?page=pte-edit&pte-id=48, what does the following URL give you (change the domain and the id’s to match yours)?

    https://wordpress/wp-admin/admin-ajax.php?action=pte_ajax&id=48&pte-action=get-thumbnail-info

    Plugin Author sewpafly

    (@sewpafly)

    Oh and what browser are you using?

    I’m getting the same error on a fresh WP 3.5.1 install using OSX 10.8.3 and Chrome 27

    Plugin Author sewpafly

    (@sewpafly)

    What version of PTE? What happens if you put PTE in debug mode? (Settings → Post Thumbnail Editor)

    Latest version 2.1.0 and upon turning on debug more it turns out it my permissions were not allowing it to create the ptetemp folder within my uploads, I’ve changed the parameters and it now creates the image file, but it never updates the db with the new url, instead it just has the _wp_attachment_metadata set to the old originally cut file.

    Plugin Author sewpafly

    (@sewpafly)

    so is there no error message now? (If you inspect the returned message in the network tab).

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘o.thumbnails undefined’ is closed to new replies.