• Resolved arictai5

    (@arictai5)


    First thank you for creating this awsome plugin! Recently I found that my wordpress site runs abnormally and I found that there is a jquery error when I active this plugin. That could be great if you can help to check if there are something wrong with my setting(This error didn’t occur a few days before) 🙂 thankyou
    There is a link of my site: http://www.sai-tai.com/blog/
    Error console:

    JQMIGRATE: Migrate is installed, version 1.4.1
    jquery.js?ver=1.12.4:3 Uncaught TypeError: Cannot read property 'createDocumentFragment' of null
        at ca (http://www.sai-tai.com/blog/wp-includes/js/jquery/jquery.js?ver=1.12.4:3:4982)
        at ja (http://www.sai-tai.com/blog/wp-includes/js/jquery/jquery.js?ver=1.12.4:3:7042)
        at Ha (http://www.sai-tai.com/blog/wp-includes/js/jquery/jquery.js?ver=1.12.4:3:20877)
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Did you install a new theme in the last few days? There is a conflict between themes / plugins that use Bootstrap and themes / plugins that use JQuery tooltips. Photonic uses JQuery Tooltips, and your theme uses Bootstrap.

    Look for this code in line 837 in the file photonic.js:

    $(document).tooltip({
    	items: '.title-display-tooltip a, .photonic-slideshow.title-display-tooltip img',
    	track: true,
    	show: false,
    	hide: false
    });

    Change it to this:

    $(document).on('mouseover', '.title-display-tooltip a, .photonic-slideshow.title-display-tooltip img', function() {
    	$(this).tooltip({
    		track: true,
    		show: false,
    		hide: false,
    		content: function() {
    			if ($(this).data('title') != undefined && $(this).data('title') != '') {
    				return photonicHtmlDecode($(this).data('title'));
    			}
    			return photonicHtmlDecode($(this).attr('title'));
    		}
    	});
    });

    Let me know if it works.

    Hi Sayontan – thank you very much for this. That’s worked brilliantly across all my platforms. Little legend! Cheers.

    Thread Starter arictai5

    (@arictai5)

    Hi Sayontan !
    Yes! it works! I just wanna say thanks to you for this really quick response!
    Thank you so much!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Jquery error: Cannot read property ‘createDocumentFragment’ of null’ is closed to new replies.