TypeError: params.hasOwnProperty is not a function, error

  • Plugin & Theme Dev

    @torn2 that's because your package.json has 4.2.7 for composer. Run npm i nodebb-plugin-composer-default@4.2.9 to install v4.2.9


  • @pichalite I get this?

    nodebb@1.2.1 /root/nodebb
    └── nodebb-plugin-composer-default@4.2.9 invalid

  • Plugin & Theme Dev

    @torn2 corrected plugin name.... npm i nodebb-plugin-composer-default@4.2.9 works for me


  • @pichalite Yea, I entered it with default at the end when I noticed it would not work. When I entered it correctly that one gave an error. It says invalid when I enter it with the correct name. Does it have to be 4.2.11 instead? When I do npm outdated it says the new version is 4.2.11?


  • guys, still getting this error :S

    Oct 22 21:03:33 nodebb[11163]: 22/10 21:03 [24687] - error: TypeError: params.hasOwnProperty is not a function
    Oct 22 21:03:33 nodebb[11163]:     at _checkSignatureUsingProvider (/var/nodebb/node_modules/openid/openid.js:1148:15)
    Oct 22 21:03:33 nodebb[11163]:     at _checkSignature (/var/nodebb/node_modules/openid/openid.js:1083:5)
    Oct 22 21:03:33 nodebb[11163]:     at _verifyAssertionAgainstProviders (/var/nodebb/node_modules/openid/openid.js:1047:12)
    Oct 22 21:03:33 nodebb[11163]:     at /var/nodebb/node_modules/openid/openid.js:1012:7
    Oct 22 21:03:33 nodebb[11163]:     at /var/nodebb/node_modules/openid/openid.js:545:7
    Oct 22 21:03:33 nodebb[11163]:     at /var/nodebb/node_modules/openid/openid.js:411:16
    Oct 22 21:03:33 nodebb[11163]:     at Request._callback (/var/nodebb/node_modules/openid/openid.js:174:7)
    Oct 22 21:03:33 nodebb[11163]:     at Request.self.callback (/var/nodebb/node_modules/request/request.js:187:22)
    Oct 22 21:03:33 nodebb[11163]:     at emitTwo (events.js:106:13)
    Oct 22 21:03:33 nodebb[11163]:     at Request.emit (events.js:191:7)
    Oct 22 21:03:33 nodebb[11163]:     at Request.<anonymous> (/var/nodebb/node_modules/request/request.js:1048:10)
    Oct 22 21:03:33 nodebb[11163]:     at emitOne (events.js:96:13)
    Oct 22 21:03:33 nodebb[11163]:     at Request.emit (events.js:188:7)
    Oct 22 21:03:33 nodebb[11163]:     at IncomingMessage.<anonymous> (/var/nodebb/node_modules/request/request.js:969:12)
    Oct 22 21:03:33 nodebb[11163]:     at emitNone (events.js:91:20)
    Oct 22 21:03:33 nodebb[11163]:     at IncomingMessage.emit (events.js:185:7)
    Oct 22 21:03:33 nodebb[11163]: TypeError: params.hasOwnProperty is not a function
    Oct 22 21:03:33 nodebb[11163]:     at _checkSignatureUsingProvider (/var/nodebb/node_modules/openid/openid.js:1148:15)
    Oct 22 21:03:33 nodebb[11163]:     at _checkSignature (/var/nodebb/node_modules/openid/openid.js:1083:5)
    Oct 22 21:03:33 nodebb[11163]:     at _verifyAssertionAgainstProviders (/var/nodebb/node_modules/openid/openid.js:1047:12)
    Oct 22 21:03:33 nodebb[11163]:     at /var/nodebb/node_modules/openid/openid.js:1012:7
    Oct 22 21:03:33 nodebb[11163]:     at /var/nodebb/node_modules/openid/openid.js:545:7
    Oct 22 21:03:33 nodebb[11163]:     at /var/nodebb/node_modules/openid/openid.js:411:16
    Oct 22 21:03:33 nodebb[11163]:     at Request._callback (/var/nodebb/node_modules/openid/openid.js:174:7)
    Oct 22 21:03:33 nodebb[11163]:     at Request.self.callback (/var/nodebb/node_modules/request/request.js:187:22)
    Oct 22 21:03:33 nodebb[11163]:     at emitTwo (events.js:106:13)
    Oct 22 21:03:33 nodebb[11163]:     at Request.emit (events.js:191:7)
    Oct 22 21:03:33 nodebb[11163]:     at Request.<anonymous> (/var/nodebb/node_modules/request/request.js:1048:10)
    Oct 22 21:03:33 nodebb[11163]:     at emitOne (events.js:96:13)
    Oct 22 21:03:33 nodebb[11163]:     at Request.emit (events.js:188:7)
    Oct 22 21:03:33 nodebb[11163]:     at IncomingMessage.<anonymous> (/var/nodebb/node_modules/request/request.js:969:12)
    Oct 22 21:03:33 nodebb[11163]:     at emitNone (events.js:91:20)
    Oct 22 21:03:33 nodebb[11163]:     at IncomingMessage.emit (events.js:185:7)
    

    Is that because I have

    nodebb@1.2.1 /var/nodebb
    └── nodebb-plugin-composer-default@4.2.11 
    

    version 4.2.11 instead of 4.2.9?

  • GNU/Linux Admin

    Odd... composer doesn't use openid 😛 -- any plugins you've install that might?


  • these are all my plugins i think:

     nodebb-plugin-blog-comments@0.5.1 extraneous
     nodebb-plugin-category-notifications@2.0.1 extraneous
     nodebb-plugin-composer-default@4.2.9
     nodebb-plugin-dbsearch@1.0.3
     nodebb-plugin-desktop-notifications@0.2.4 extraneous
     nodebb-plugin-emailer-yandex@0.4.0 extraneous (git://github.com/MegaGM/nodebb-plugin-emailer-yandex.git#ea42e1a2388f3872594db1e475bc0f0170e746dd)
     nodebb-plugin-emoji-extended@1.1.1
     nodebb-plugin-emoji-one@1.1.5
     nodebb-plugin-google-analytics@0.5.9 extraneous
     nodebb-plugin-imgur@1.0.16 extraneous
     nodebb-plugin-markdown@6.0.2
     nodebb-plugin-mentions@1.1.3
     nodebb-plugin-question-and-answer@0.1.3 extraneous
     nodebb-plugin-soundpack-default@0.1.6
     nodebb-plugin-spam-be-gone@0.4.10
     nodebb-plugin-spoilers@0.1.2 extraneous
     nodebb-plugin-sso-facebook@3.0.3 extraneous
     nodebb-plugin-sso-google@2.0.1 extraneous
     nodebb-plugin-sso-steam@0.0.9 extraneous
     nodebb-plugin-sso-twitter@2.2.1 extraneous
     nodebb-plugin-youtube-lite@0.5.0 extraneous (git+https://github.com/a5mith/nodebb-plugin-youtube-lite.git#82a22fc6f1a7e158376fa5d9b1f8c4e67a57a177)
    

  • @Giggiux @julian
    Probably is:

    ├─┬ nodebb-plugin-sso-steam@0.0.9 
    │ └─┬ passport-steam@0.1.7
    │   └─┬ passport-openid@0.4.0
    │     └── openid@1.0.4 
    

    But I don't think anyone connected with steam his account 😕


  • A little up 🙂

  • Global Moderator

    Try turning off all of your sso plugins, then enabling them one by one.

Suggested Topics

| |