Support » Plugin: SliceShow » TypeError

  • sdesigner



    This is very nice plugin, but sometimes while uploading image and inserting following error occurs in custom-js.js on line 25.

    TypeError: classes is undefined
    id = classes.replace(/(.*?)wp-image-/, ”);

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I want to like this plugin, but am completely unable to upload any pictures into it, whether I try to use them from the Media Library or upload from my computer. Same error message as stated above.

    custom-js.js, line 25. Uncaught exception, cannot call replace method on undefined.

    It looks like the previous line, classes = jQuery(‘img’,html).attr(‘class’); is returning no matches, but the following line assumes it will always find a class attribute.

    Perhaps an if statement that checks classes isn’t undefined first, and then carry out lines 25 & 26?

    anybody found the issue?

    It used to work for me but doesn’t work now in my new websites.

    same issue here. very annoying. is there a fix for this yet?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘TypeError’ is closed to new replies.