Support » Plugin: PDF Image Generator » Error Uploading Images in Post pages

  • Hello,

    Images fail to upload when dragged into the upload box. In addition, when attempting to upload using the select button, the file manager window does not appear. This seems to only happen when editing posts.

    When checking for errors, I came accross the following:

    post.php?post=5555&action=edit:6157 Uncaught TypeError: Cannot read property 'reset' of undefined
        at constructor.<anonymous> (http://staging.annunciationcrestwood.com/wp-admin/post.php?post=5555&action=edit:6157:50)
        at _ (http://staging.annunciationcrestwood.com/wp-admin/load-scripts.php?c=1&load…i-accordion,farbtastic,editor,wpl&load%5B%5D=ink,wp-embed&ver=4.7:415:3870)
        at m (http://staging.annunciationcrestwood.com/wp-admin/load-scripts.php?c=1&load…i-accordion,farbtastic,editor,wpl&load%5B%5D=ink,wp-embed&ver=4.7:415:3712)
        at f (http://staging.annunciationcrestwood.com/wp-admin/load-scripts.php?c=1&load…i-accordion,farbtastic,editor,wpl&load%5B%5D=ink,wp-embed&ver=4.7:415:1565)
        at n.u.trigger (http://staging.annunciationcrestwood.com/wp-admin/load-scripts.php?c=1&load…i-accordion,farbtastic,editor,wpl&load%5B%5D=ink,wp-embed&ver=4.7:415:3592)
        at wp.Backbone.Subviews.ready (http://staging.annunciationcrestwood.com/wp-admin/load-scripts.php?c=1&load…i-accordion,farbtastic,editor,wpl&load%5B%5D=ink,wp-embed&ver=4.7:418:1866)
        at n.attach (http://staging.annunciationcrestwood.com/wp-admin/load-scripts.php?c=1&load…-accordion,farbtastic,editor,wpl&load%5B%5D=ink,wp-embed&ver=4.7:452:19735)
        at n.open (http://staging.annunciationcrestwood.com/wp-admin/load-scripts.php?c=1&load…-accordion,farbtastic,editor,wpl&load%5B%5D=ink,wp-embed&ver=4.7:452:20048)
        at n.d.(anonymous function) [as open] (http://staging.annunciationcrestwood.com/wp-admin/load-scripts.php?c=1&load…-accordion,farbtastic,editor,wpl&load%5B%5D=ink,wp-embed&ver=4.7:452:17535)
        at HTMLAnchorElement.<anonymous> (http://staging.annunciationcrestwood.com/wp-admin/load-scripts.php?c=1&load…i-accordion,farbtastic,editor,wpl&load%5B%5D=ink,wp-embed&ver=4.7:454:7196)

    While looking further into the issue, it appears that wp.media.frame.content.get().options.selection.reset(); in line 748 of the pdf-image-generator.php is undefined.

    • This topic was modified 2 years, 7 months ago by  ewizdev1.
Viewing 1 replies (of 1 total)
  • Plugin Author Mizuho Ogino

    (@fishpie)

    Hi ewizdev1.

    Until the cause is cleared, I temporarily removed the reset function on v1.5.1.
    Thanks for your great feedback!!

Viewing 1 replies (of 1 total)
  • The topic ‘Error Uploading Images in Post pages’ is closed to new replies.