• Resolved jureknafelc

    (@jureknafelc)


    Hi Greg,
    I have a problem with image uploader. I built the site a few month ago and everything was working fine back then. Today I noticed images aren’t being uploaded at all after selecting the image file. Im guessing the problem happened when updating sites plugins or theme. Now I’m getting this two errors in Chrome Console:

    adverts-frontend.js?ver=1.2.6:150 Uncaught TypeError: $(…).autoNumeric is not a function
    at HTMLDocument.<anonymous> (adverts-frontend.js?ver=1.2.6:150)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    adverts-gallery.js?ver=1.2.7:268 Uncaught TypeError: Cannot read property ‘size’ of undefined
    at WPADVERTS.File.Uploader.Plupload.FileAdded (adverts-gallery.js?ver=1.2.7:268)
    at a.g (jquery.min.js:2)
    at Function.each (jquery.min.js:2)
    at WPADVERTS.File.Uploader.Plupload.FilesAdded (adverts-gallery.js?ver=1.2.7:257)
    at g.Uploader.g (jquery.min.js:2)
    at g.Uploader.dispatchEvent (plupload.min.js?ver=2.1.9:1)
    at g.Uploader.trigger (moxie.min.js?ver=1.3.5:1)
    at plupload.min.js?ver=2.1.9:1
    at moxie.min.js?ver=1.3.5:1

    The site the problem is occurring on is not in english and the adverts part of the site is private, but if needed I can create a account for you in case you need to take a personal look at it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    it would be best if i could see the page with [adverts_add] shortcode, the error indicates that the auto-numeric.js file is not loaded for some reason which causes an error.

    It also looks like you have the jQuery included twice one is normal jQuery file and the other is minified version maybe they are using different jQuery versions? It would be best to have just one loaded.

    Thread Starter jureknafelc

    (@jureknafelc)

    Here is a link to the site:
    Username: /
    Password: /
    After loging in you are taken straight to the page with [adverts_add] shortcode.
    I noticed that MetaSlider on the page is currently broken as well and working on fixing that as well. What is strange is that both the MetaSlider and WPAdverts plugins work just fine in customize theme mode.

    Edit: Removed site account information

    • This reply was modified 6 years, 1 month ago by jureknafelc.
    Thread Starter jureknafelc

    (@jureknafelc)

    Hi again Greg,
    wanted to let you know that after you pointing out the two versions of jQuery might be the problem I managed to track down the problem to a Plugin that was using the minified version and after removing that everything is working as it was.
    I need to learn to read error codes better for the future.
    Thanks again for your reply, help and creating this wonderful Plugin!

    Plugin Author Greg Winiarski

    (@gwin)

    Ok great, i am glad you have it resolved :).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image uploader not uploading images’ is closed to new replies.