HTTP 500 error after login on AAD
Catchable fatal error: Object of class WP_Error could not be converted to string in /var/www/blog.swineson.me/wp-content/plugins/aad-sso-wordpress/aad-sso-wordpress.php on line 356
Can you provide some more details on how you plugin was configured and at which point of the sign-in you received this error?
Actually, forget it, I see where the issue is. This can happen if creating the new user fails, and we try to log the result (since we expected it to be a user id). Need to add better error handling here.
is this solved? i am getting the same issue.
Are you seeing the exact same error message?
I'm getting the exact same error. The new user exists in the WordPress directory so it seemed to work. I tried to login again and got the same error. Any ideas?
Can you confirm that you're using the latest version from GitHub? Can you include the error message you're seeing?
I am using the latest version -- I installed only a couple weeks ago. I was getting the exact same error as above. I removed the user from WordPress and it worked ok. Not sure what went wrong.