Fernando Brenes
Forum Replies Created
-
AuthorPosts
-
Hi Patrik,
That was exactly the file causing the issue 🙂
I have disabled it in the home page and now it’s working fine.
Best RegardsThis reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Hi,
Never mind 🙂 I find it
add_filter(‘uwp_profile_tabs’, ‘uwp_add_profile_custom_tabs’, 10, 3);
function uwp_add_profile_custom_tabs($tabs, $user, $allowed_tabs) {$tabs[‘citas’] = array(
‘title’ => ‘Mis Citas’,
‘count’ => 1
);return $tabs;
}add_action(‘uwp_profile_citas_tab_content’, ‘uwp_add_profile_citas_tab_content’);
function uwp_add_profile_citas_tab_content($user) {
echo do_shortcode(‘[shortcode]’);
}Hi Patrik,
Correct, permissions were not asked because the user was deleted from WordPress so Web Application was already authorized in Facebook that’s the reason it didn’t ask for permission.
But you are right somehow, there was a problem with cookies even though I was clearing cookies and using incognito mode. I was able to access again today so the issue is fixed.
Thank you once again for your help!
Best RegardsHi Patrick,
I have again the same issue. I believe the issue happens if I perform the following actions:
1. Register into the Web site
2. Then remove the user from WordPress
3. Try again to login with the same user using any Social Account
4. Try to register again with the same user using any Social AccountEven if I remove from the Social Account the access to the Web Page is no longer possible to use the Social Account to register or login into the Web Site.
Thank you,
Best RegardsHi,
Just wanted to let you know that I found a way to fix the issue. For some reason the problem was in the Active Apps and Websites in Facebook for this specific user.
I logged in into Facebook –> Settings –> Apps and Websites –> Remove the Website
Then I logged again and authorized the Web and now everything is working fine.
Once again thank you for your help and this great app.
Best RegardsThis reply has been marked as private.This reply has been marked as private.Additional info:
Clear all sessions
[17:47][root@crsjowebs01 public]# wp user list –field=ID | xargs -n 1 wp user session destroy –all –allow-root
PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
Success: Destroyed all sessions.
PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
Success: Destroyed all sessions.
PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
Success: Destroyed all sessions.[17:48][root@crsjowebs01 public]# wp user session list fernandobrenescliente
PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
+——-+————+—————–+—-+—-+
| token | login_time | expiration_time | ip | ua |
+——-+————+—————–+—-+—-+
+——-+————+—————–+—-+—-+Login using Facebook social login
[17:49][root@crsjowebs01 public]# wp user session list fernandobrenescliente
PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
+——-+————+—————–+—-+—-+
| token | login_time | expiration_time | ip | ua |
+——-+————+—————–+—-+—-+
+——-+————+—————–+—-+—-+Nothing
Try to login again this time filling up manually email and password
[17:50][root@crsjowebs01 public]# wp user session list fernandobrenescliente
PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
+———————————————–+———————+———————+————-+—————————————————+
| token | login_time | expiration_time | ip | ua |
+———————————————–+———————+———————+————-+—————————————————+
| d19f207a55164da3d05b9513a3aef05d661e0bccd8967 | 2019-05-12 18:02:23 | 2019-05-14 18:02:23 | 186.4.12.90 | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWe |
| eaf326436dd9f4e60c7 | | | | bKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729. |
| | | | | 131 Safari/537.36 |
+———————————————–+———————+———————+————-+—————————————————+My ngixn vhost has the following include:
include /usr/local/nginx/conf/wpincludes/zonamotriz.com/wpsecure_zonamotriz.com.conf;
And the file has many entries and I have whitelisted uwp_social
# Whitelist WPUsers Social Login
location ~* /wp-content/plugins/uwp_social {
include /usr/local/nginx/conf/php.conf;
}All of this hasn’t change and it was working so I’m not sure what the problem can be and how to debug it.
Please let me know.
Thank you,
Best RegardsMay 11, 2019 at 12:50 pm in reply to: UsersWP upgrade not working properly in WordPress 5.2 and Multisite #4035Hi Alex,
Thank you. Not a problem I can do the change if needed 🙂
Just a suggestion if it’s mandatory then the option is mandatory in form builder for username should be checked and disable or maybe should a message that is currently mandatory.
Thanks
Best regards -
AuthorPosts