• Resolved captainhypertext

    (@captainhypertext)


    When I click “Authenticate with Google”, the screen darkens but the modal never appears. I get this error in my console:

    Uncaught TypeError: this.$backdrop.one(...).emulateTransitionEnd is not a function
        at i.backdrop (bootstrap.min.js?ver=4.7:11)
        at i.show (bootstrap.min.js?ver=4.7:11)
        at HTMLDivElement.<anonymous> (bootstrap.min.js?ver=4.7:11)
        at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7:2)
        at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7:2)
        at a.fn.init.e [as modal] (bootstrap.min.js?ver=4.7:11)
        at Object.authorize (googleanalytics_page.js?ver=4.7:13)
        at HTMLButtonElement.onclick (admin.php?page=googleanalytics%2Fsettings:428)

    This actually worked fine on another one of my sites.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi @captainhypertext,

    Thank you for reaching out and reporting on this issue.
    Can you confirm that you’re on the latest version (2.0.3)?

    I’ve alerted our engineering team and we should learn more about this issue in a bit.

    I reported this a few days ago, and you all since released a new update (2.02). It appears it still hasn’t been fixed. I am experiencing this same issue, although I don’t receive any errors at all. The screen simply darkens and then nothing happens. I’m happy to help debug if you need.

    – Brent

    • This reply was modified 8 years, 2 months ago by bowend3c.
    Thread Starter captainhypertext

    (@captainhypertext)

    The plugins page says I’m using 2.0.2 (I swear I updated to 2.0.3 a few minutes ago :/). Either way, it’s not prompting me to update.

    Thread Starter captainhypertext

    (@captainhypertext)

    These are the other plugins installed on the site:

    • All in One SEO Pack
    • All in One WP Security
    • Better Search Replace
    • CP Media Player
    • Custom Meta Boxes
    • Formidable
    • GT3 Page Builder
    • Ninja Forms
    • Revolution Slider
    • SlideShare Embeds
    • UpdraftPlus – Backup/Restore
    • WP Job Manager
    • WP Super Cache

    Everything worked fine on my third site as well, so it’s only this one that’s having trouble.

    Same issue here with version 2.0.2

    JQMIGRATE: Migrate is installed, version 1.4.1
    Uncaught TypeError: this.$backdrop.one(...).emulateTransitionEnd is not a function
        at i.backdrop (bootstrap.min.js?ver=4.7:11)
        at i.show (bootstrap.min.js?ver=4.7:11)
        at HTMLDivElement.<anonymous> (bootstrap.min.js?ver=4.7:11)
        at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7:2)
        at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7:2)
        at a.fn.init.e [as modal] (bootstrap.min.js?ver=4.7:11)
        at Object.authorize (googleanalytics_page.js?ver=4.7:13)
        at HTMLButtonElement.onclick (admin.php?page=googleanalytics%2Fsettings:279)
    • This reply was modified 8 years, 2 months ago by lightofwolf. Reason: code
    • This reply was modified 8 years, 2 months ago by lightofwolf. Reason: code

    Same issue here with V2.0.2, updater doesn’t show any new version.

    The customized version of bootstrap fails. Uploading the ‘stock’ version of bootstrap allowed me to authorize. Running WP 4.7, and the most recent update of the plugin.

    All I did was swap out the bootstrap.min.js file and it worked file; hope this helps someone.

    Side note, does your customized version of the boostrap script look for the version of bootstrap? Which is something around 3.3… something but your plugin seems ‘populate’ the ver 4.7… are these two things linked; or does your versioning refer to wp version?

    Anyway, just thoughts; don’t have time to trace and look into it deeper; especially cause its working again. For now.

    Thread Starter captainhypertext

    (@captainhypertext)

    I did get prompted to update to version 2.0.3 today, but it didn’t fix my problem.

    @goodyis Your solution worked for me, thanks! I replaced “wp-content/plugins/googleanalytics/js/bootstrap.min.js” with stock bootstrap (v 3.3.7) and it works fine now.

    Hi @goodyis,

    Thank you for the mini fix, I’ve let our engineering team know about the solution!
    We’re still working on a solution for this issue everyone is seeing and hope to deploy something by tomorrow morning!

    I’ll be sure to update you guys on the progress.

    qlddrones

    (@websupportguy)

    I’ve just updated to 2.0.4 and the problem still exists. The window doesn’t go dark any more. Nothing happens at all when you click the button.

    Plugin Author ShareThis

    (@sharethis)

    Hi @websupportguy we tried to replicate it but couldn’t find the reason. Could you send a screenshot with the console open when trying to authenticate. You can do it this way in chrome https://cl.ly/3t2a42453Q3h

    Or if you just want us to debug it, could you email the temporary access and dev team can go in to see the issue. If you’re interested please send us an email with the account/password here: [email protected]

    On my side, with 2.0.5, the issue is solved.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Can’t authenticate – Bootstrap modal js error’ is closed to new replies.