• Resolved julyanoko

    (@julyanoko)


    Hello.

    Since I upgraded plugin version to 4.3.3 (today), I’m getting this following error:
    FB is not defined in public.js?ver=4.3.3:9

    I already tried to install this plugin in other website and I’m getting the same error (including doesn’t loading all other plugins).

    How can I fix this?

    Best Regards.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter julyanoko

    (@julyanoko)

    It was something like this (in wp-content/plugins/easy-facebook-likebox/public/assets/js/public.js):
    // if ($(“.efbl_feed_wraper .efbl_custom_likebox”)[0]){

    FB.Event.subscribe(‘xfbml.render’, function(response) {
    var animclasses = $(‘.efbl-like-box .fb-page’).data(‘animclass’);

    $(‘.efbl-loader’).remove();

    $(‘.efbl-like-box iframe’).addClass(‘animated ‘ + animclasses);

    });

    // }
    I junst uncommented this “IF” and it still working fine. Please, fix this for other users.

    Best Regards,

    Julyano

    Thread Starter julyanoko

    (@julyanoko)

    It was something like this (in wp-content/plugins/easy-facebook-likebox/public/assets/js/public.js):

    		 // if ($(".efbl_feed_wraper .efbl_custom_likebox")[0]){
    
    			    FB.Event.subscribe('xfbml.render', function(response) {
    			    	var animclasses = $('.efbl-like-box .fb-page').data('animclass');
    			    	
    			    	$('.efbl-loader').remove();
    
    			    	$('.efbl-like-box iframe').addClass('animated ' + animclasses);
    			    	
    			    });
    
    		    // }

    I junst uncommented this “IF” and it still working fine. Please, fix this for other users.

    Best Regards,

    Julyano

    That fixed it for me as well

    Plugin Author Danish Ali Malik

    (@danish-ali)

    File is updated now ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘FB is not defined’ is closed to new replies.