Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8717497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:19:10+00:00 2026-06-13T06:19:10+00:00

Today I came across a very irritating issue. My JavaScript stopped working over night.

  • 0

Today I came across a very irritating issue. My JavaScript stopped working over night. When a user tries to create a FB action on my page there is a funky JS error:

Uncaught TypeError: Cannot read property '__wrapped' of null 

Error occurs in the connect.facebook.net/en_GB/all.js:82 and it doesn’t make sense. In the error chain last line called from my script is FB.login(null, {scope: 'publish_actions'});. There is no AJAX called to Facebook. The JS SDK crashes before it gets anywhere. What is more annoying an old version of my script on different environment works so I can’t blame facebook. Do you have any idea where should I look for a problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:19:12+00:00Added an answer on June 13, 2026 at 6:19 am

    The right syntax of FB.login is

    FB.login(function(response) {
       // handle the response
     }, {scope: 'publish_actions'});
    

    Why are you passing null as the parameter? That should contain the function which will process the response received.

    At the very least, pass it an empty function, with no body.

    (Reference)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Today I came across a very strange JavaScript regular expression issue. When using the
I came across something very basic but extremely bewildering today. I needed to convert
I came across some javascript at work today that used jQuery to fetch two
At work today, I came across the volatile keyword in Java. Not being very
Today I came across a very nasty problem, I need to make the front-end
I was looking over the ObjectProperty list today and came across the property TableIsFake
Today I came across a problem where someone had accidentally committed a proj.user file
Today I came across this problem in javascript and do not know why it
i came across a compatibility issue today, as a customer upgraded from Windows XP
I came across an issue today, that my PHP script would send a server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.