• Resolved enerbrat

    (@enerbrat)


    I had just migrated a site over and now my facebook page plugin doesnt work. I had upgraded the same theme to the premium, and thats the only thing I can think of that is different. there is a slider now and there wasnt before.

    I am using soliloquy theme.

    works great on old site donuts.onestopweb.org

    simply never loads on new site thegroovydonutshop.com

    can anyone locate where the issue is being caused?

    https://ww.wp.xz.cn/plugins/facebook-page-feed-graph-api/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Cameron Jones

    (@cameronjonesweb)

    Hi enerbrat,

    It appears that your theme or another plugin is initialising the Facebook SDK. Thankfully it isn’t conflicting with my plugin as it works on your old site. However on your new site the SDK is throwing the following error: Uncaught Error: invalid version specified. On your old site the URL for the SDK is https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.4&appId=191521884244670 but on the new site it is adding extra encoding characters (which get filtered out if I post them here). The extra encoded characters may be causing this error so try and fix that and see if that makes a difference.

    Alternatively, you can dequeue the SDK that is causing this error if you’re not using it else-wear on the site.

    function dequeue_facebook_sdk() {
      wp_dequeue_script( 'facebook-jssdk' );
    }
    add_action( 'wp_print_scripts', 'dequeue_facebook_sdk', 99999 );

    Thanks,
    Cameron

    Thread Starter enerbrat

    (@enerbrat)

    i am still getting the error.

    I even went as far as just removing the other script calling the SDK but it did nothing. And I was trying to dequeue it immediately after it was called as well.

    Dont even know where to start by removing encoding sitewide..

    Plugin Author Cameron Jones

    (@cameronjonesweb)

    Hi enerbrat,

    Is your new site on a different server? Whatever is causing the encoding is probably in the server configuration.

    That said, it looks as though it’s working properly at present

    Thanks,
    Cameron

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

The topic ‘Plugin failing on new migration’ is closed to new replies.