tarecord / sign-in-with-google

A WordPress plugin that adds "Sign in with Google" functionality
https://wordpress.org/plugins/sign-in-with-google
GNU General Public License v2.0
26 stars 5 forks source link

Issue after upgrading 1.7 > 1.8 #106

Closed iwdinw2 closed 2 years ago

iwdinw2 commented 2 years ago

Hi,

after upgrading to 1.8 I am getting the following error message:

Notice: Undefined variable: user in /www/htdocs/path_to_site/wp-content/plugins/sign-in-with-google/src/admin/class-sign-in-with-google-admin.php on line 572

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/path_to_site/wp-content/plugins/sign-in-with-google/src/admin/class-sign-in-with-google-admin.php:572) in /www/htdocs/path_to_site/wp-includes/pluggable.php on line 1340

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/path_to_site/wp-content/plugins/sign-in-with-google/src/admin/class-sign-in-with-google-admin.php:572) in /www/htdocs/path_to_site/wp-includes/pluggable.php on line 1343

I replaced some private data with "path_to_site".

Wordpress 5.8.4 PHP 7.4

I am logged in spite of the error messages. Reentering the website admin url opens the backend.

How can I fix the error messages?

Cheers

iwdinw2 commented 2 years ago

Thank you - I resolved the issue by replacing the plugin using a similar one: https://wordpress.org/plugins/login-with-google/