AyeCode / userswp

Lightweight WordPress User Profile Plugin, provides a front end login form, registration form, edit account form, forgot password, searchable users directory, and user profiles. It can be extended and we provide add-ons to integrate it with WooCommerce, Easy Digital Downloads, Wp Jobs Manager, GeoDirectory, MailChimp, and many other plugins.
https://userswp.io/
GNU General Public License v2.0
63 stars 26 forks source link

Social Google Returns Blank Screen after authentication #699

Closed alt160 closed 1 year ago

alt160 commented 1 year ago

I'm using version 1.3.21 of the UsersWP Social Login plugin at SiteGround.

After the authentication prompt from google the redirected page on the site '.../uwphauth/google' shows as a blank page with only the google picture showing.

using the F12 inspector i found a stacktrace and error text about '.../wp-content/plugins/userswp-social-login/templates/linking.php' and printf with an "invalid format specifier".

It looks like this line (380) from the file: <p><?php printf( __( "Please enter your username and password of your existing account on our website. Once verified, it will linked to your % ID", 'uwp-social' ), ucfirst( $provider ) ); ?>

Is missing the necessary '%s' token.

updating that line to the following solves the issue: <p><?php printf( __( "Please enter your username and password of your existing account on our website. Once verified, it will linked to your %s ID", 'uwp-social' ), ucfirst( $provider ) ); ?>

I also found the same issue in the base 'linking.php' file in: '.../wp-content/plugins/userswp-social-login/includes'

hopefully someone can pick this up and update it.

wpdev10 commented 1 year ago

@alt160 this is fixed and will be available in the next plugin update soon.