Title: Keep getting a login error
Last modified: August 24, 2016

---

# Keep getting a login error

 *  [funkyshirtshack](https://wordpress.org/support/users/funkyshirtshack/)
 * (@funkyshirtshack)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/)
 * I keep getting this error upon trying to login
 *  Fatal error: Cannot use object of type WP_Error as array in /home/funkyshi/public_html/
   wp-includes/class-http.php on line 495
    I was able to login before and used it
   to add about 37 post, I logged out and cleared the cache to try again and this
   is what is happening!
 * [https://wordpress.org/plugins/pinterest-importer/](https://wordpress.org/plugins/pinterest-importer/)

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

 *  Plugin Author [grosbouff](https://wordpress.org/support/users/grosbouff/)
 * (@grosbouff)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107387)
 * That is weird, got it working fine here.
    I would need to know more about this
   error, is it the only message that is fired ?
 *  Thread Starter [funkyshirtshack](https://wordpress.org/support/users/funkyshirtshack/)
 * (@funkyshirtshack)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107442)
 * Well I seem to be having alot of issues with the plugin, But yeah that is the
   only error when I try to login! Once I am able to login, I pick the boards and
   select it and I cache Pins. Say I have 39 Pins in that board, it will show like
   50 or 60 to import, it is doubling and bunch of them up! Then when I try to import
   pins I keep getting errors
    when I hit cache pins I get Fatal error: Cannot use
   object of type WP_Error as array in /home/funkyshi/public_html/wp-includes/class-
   http.php on line 495.. second time I tried it.. Unknown error while getting user
   data.. Today I am just unable to even cache them
 * I am using wordpress version Version 4.2.2
 *  Plugin Author [grosbouff](https://wordpress.org/support/users/grosbouff/)
 * (@grosbouff)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107444)
 * I suspect a session error; because if you succeed login in, it shouldn’t say “
   Unknown error while getting user data” just after.
    Maybe there is a problem 
   while the session is created, which usually happens when code is outputted before
   the session starts.
 * Could you try to uncomment
 * `//ini_set('display_errors','Off');`
 * (remove the //)
 * at the beginning of pinterest-importer.php ?
 * Are you login in with your email or with your username ?
    Please try with email.
 * Keep giving feedback, thanks !
 *  Plugin Author [grosbouff](https://wordpress.org/support/users/grosbouff/)
 * (@grosbouff)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107445)
 * [@funkyshirtshack](https://wordpress.org/support/users/funkyshirtshack/)
 * Please also try to disable all plugins except Pinterest Importer and see if it
   happens again.
 *  Thread Starter [funkyshirtshack](https://wordpress.org/support/users/funkyshirtshack/)
 * (@funkyshirtshack)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107447)
 * Yeah I am logging in with my e-mail address..
    I tried to remove// and that gave
   me a white screen.. You want to login and check it out?
 *  Thread Starter [funkyshirtshack](https://wordpress.org/support/users/funkyshirtshack/)
 * (@funkyshirtshack)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107448)
 * I was able to login again and when I tried to cache the pins
 * Pins count
 *  Pins cached
 *  30 50 (167%) 0 (0%)
 *  Thread Starter [funkyshirtshack](https://wordpress.org/support/users/funkyshirtshack/)
 * (@funkyshirtshack)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107449)
 * When I try to import some of them I get
    ps://s-media-cache-ak0.pinimg.com/originals/
   7e/98/13/7e9813ee978a4d56f704cd6486e8efd9.jpg): failed to open stream: Connection
   refused in /home/funkyshi/public_html/wp-content/plugins/pinterest-importer/pinim-
   functions.php on line 143
 * Error while setting post thumbnail: [https://s-media-cache-ak0.pinimg.com/originals/7e/98/13/7e9813ee978a4d56f704cd6486e8efd9.jpg](https://s-media-cache-ak0.pinimg.com/originals/7e/98/13/7e9813ee978a4d56f704cd6486e8efd9.jpg)
 *  Plugin Author [grosbouff](https://wordpress.org/support/users/grosbouff/)
 * (@grosbouff)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107451)
 * [@funkyshirtshack](https://wordpress.org/support/users/funkyshirtshack/) :
 * Yeah I could try to login to have a look. You mean, loggin in on your WordPress?
   I’ll have some time for this tomorrow…
 * About the second error (Error while setting post thumbnail), this could happen
   sometimes for some images which are corrupted, got the same bug on one pin.
 *  Thread Starter [funkyshirtshack](https://wordpress.org/support/users/funkyshirtshack/)
 * (@funkyshirtshack)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107453)
 * Well I am sot sure eaxtly what happens, But what I have to do is go into the 
   post and delete all the post, empty trash, and them try again and it will work
   most of the time! I have yet to be able to import bulk, I have to click on them
   one at a time, because the error will stop the rest of them from loading!
 *  Plugin Author [grosbouff](https://wordpress.org/support/users/grosbouff/)
 * (@grosbouff)
 * [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107516)
 * [@funkyshirtshack](https://wordpress.org/support/users/funkyshirtshack/)
 * (first, update to 0.2.3)
 * Have you got this message when trying to login ?
 * > It seems that your host doesn’t support PHP sessions(…)

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

The topic ‘Keep getting a login error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pinterest-importer_fdfdfd.svg)
 * [Pinterest Importer](https://wordpress.org/plugins/pinterest-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pinterest-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pinterest-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/pinterest-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pinterest-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pinterest-importer/reviews/)

## Tags

 * [login error](https://wordpress.org/support/topic-tag/login-error/)

 * 10 replies
 * 2 participants
 * Last reply from: [grosbouff](https://wordpress.org/support/users/grosbouff/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/keep-getting-a-login-error/#post-6107516)
 * Status: not resolved