Skip to content

"Schema frozen" error during Twitter/Facebook Login #2015

@acegreen

Description

@acegreen

Issue Description

When logging in through Twitter or Facebook, I get an error.

Steps to reproduce

  1. Login in to Twitter/Facebook through PFLoginViewController

Expected Results

Successful login

Actual Outcome

error message: "schema is frozen, cannot add: _Session"

Environment Setup

  • Server
    • parse-server version: 2.2.11
    • Operating System: Ubuntu 15.10
    • Hardware: 4 GB Memory / 60 GB Disk / NYC3
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Digital Ocean
  • Database
    • MongoDB version: 3.2.7
    • Storage engine: N/A
    • Hardware: 4 GB Memory / 60 GB Disk / NYC3
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Digital Ocean

Logs/Trace

You can turn on additional logging by configuring VERBOSE=1 in your environment.

Error message above on client-side visible.

Comments

I have looked through other issues with similar symptoms but have not found a solution. The closest issue I came across was #1957, specifically the comment from @Nightsd01 where he encounters the same issue. The solution presented by @BrainDDump doesn't apply and seems unrelated.

Though I must note that in one of my functions, I do use an Array.protype

Array.prototype.randomElement = function () {
    return this[Math.floor(Math.random() * this.length)]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions