Hello people,
Do any of you know wether or not this plugin is maintained? I bought the PRO addon and reached out via support but there has been no answer for 4 days.
I am having the following issue with the plugin.
I have enabled strict 2FA enforcing meaning that on the second login of a newly created account, the user will have to go through the 2FA setup.
When I create a dummy account, the account is successfully created, everything seems to be fine, but the second time I try to log in I get this erro: {“result”:false,”error”:”Invalid nonce or user supplied.”}
This happens when no 2FA is configured. What I’ve also noticed is the following: If I try to login with the email with 2FA enabled on the account, everything works fine, popup shows up fine. If I try to login with the e-mail with 2FA not yet set up, that’s when this error is thrown.
Did anyone here on the support forum get this error? Do you have a solution for this?
]]>When using this plugin (v4.3) with BuddyBoss (v2.6.70), there’s a PHP Fatal error when saving changes on the “Login Information” page on the “Account Settings” section. This page allows the updating of the email or the password, and shows the 2FA activation options. After looking through the code, the problem is with this hook (login-with-ajax/2FA/2FA-account.php:32):
add_action('bp_core_general_settings_after_save', array( static::class, 'bp_save_profile_fields' ), 10, 2 );
The function expects 2 arguments (login-with-ajax/2FA/2FA-account.php:102):
public static function bp_save_profile_fields( $user_id, $redirect_to ) { ... }
But if we look for the hook definition, there’s no arguments (buddyboss-platform/bp-settings/actions/general.php:317):
do_action( 'bp_core_general_settings_after_save' );
I’ve got it working deleting the arguments on the function and adding this:
$user_id = bp_displayed_user_id();
//bp_core_redirect( $redirect_to );
I suppose a better approach would be to make both arguments nullable (if they are available in vanilla BuddyPress) and apply the mentioned changes when detecting any of them as null.
Thanks for this amazing plugin. The UI integration with BuddyBoss is outstanding.
]]>As stated, users can no longer properly register on my website, after registering it just keeps looping forever and never refreshes the page or redirects as it should.
I’ve tried adjusting the settings for LWA but nothing fixes the issue.
]]>I have been completely unable to renew my pro license for about a year now and no matter how many times i send a message to you guys through your contact form, i never receive a reply.
I’ve tried multiple credit cards, bank cards, digital cards, etc. and nothing works, i always get back the same error, DO NOT HONOR
Considering i know these cards are good and have the funds, this makes zero sense.
You guys need to fix this immediately, i’m tired of talking to the wall.
]]>I can’t login through the WooCommerce My Account page. I keep being redirected to the same page, but not being logged in. The problem has been isolated to LWA version 4.3.
The new information I wanted to add here is that when I uncheck the “Integrate with WooCommerce?” box on the Integrations tab, the problem goes away. That provides a workaround I can live with for now. Thanks.
]]>Profile link is turned off in the widget blocks and doesn’t appear on desktop. But if using mobile or reducing browser size the profile link then reappears.
**Resolved myself. Activated profile on all blocks and then disabled again and it fixed it.
When I enter my email during registration I get an Error: Please enter a username.
]]>If I (purposely) type in a wrong username in the login form (any template), I get an error saying:
“The username ####### is not registered on this site. if you are unsure of your username, try your email address instead.”
However, if you enter a registered email address for a user, the login freezes the screen and pops up the following error:
{“result”:false,”error”:”Invalid nonce or user supplied.”}
You have to refresh the page to clear the error. This also clears the login form, but the user has been logged in, and the redirects and 2FA have been by-passed. I get the same results if input a user email address directly, without first inputting an incorrect username.
]]>Hello everyone, I’m looking to enhance the user registration process on my WordPress website using the ‘Login with Ajax’ plugin. I would like to add fields for First Name, Last Name, and other user details to the registration form. Could anyone guide me on how to achieve this with the ‘Login with Ajax’ plugin? Any help or insights would be greatly appreciated. Thank you!
]]>I’m in desperation now trying to set up a modal login button on my site. Prior to this I was using the Login/Register pop-up plugin and it worked great! Login button in header using shortcode, changed to logout after logging in using the popup with ajax. BUT it just added too much code to my site, so I searched and found this one. It works great with a login area in the sidebar using a widget, but I just can’t get the shortcode to work. I added it to a button in the header like I did with the other plug-in: [lwa template=”modal” profile_link=”0” remember=”0” rememberme=”1” avatar_size=”30” avatar_rounded=”1”] That is my preferred setup, but when I’m logged in, its showing my avatar, profile, logout, and site admin. If I logout, all I see is OR between 2 lines. I just figured out that it’s because I use Nextend Social Login to add Google, Facebook, and Twitter “login with” buttons under the WP login form. I’m going to turn that off and see what happens, but in the meantime, how can I get the shortcode to work?
]]>I would like to be able to show a link in the main menu to a login modal, so that a user can log in from any page, not just the pages that have a button. How can I do this
]]>Hello
Since the last update of your extension, we can no longer authenticate or request a password change to our site.
As shown in the screenshot, the only message we have is [lwa].
Do you have any idea how to solve this problem? Or simply revert to the old version of your extension?
NB: Don’t hesitate to be as educational as possible in your answer, I am not a PHP or WordPress specialist ??
Thank you in advance for your response.
Vinyloup
]]>Hi there,
I found that we couldn’t log in to our site through the WooCommerce My Account page. When we tried, we kept being redirected to the same page, but not being logged in.
After troubleshooting all plugins and theme, I found that Login with Ajax was the cause, because deactivating the plugin or using version 4.1 solved the problem.
I am now having to run version 4.1 as I need site visitors to be able to login on the My Account page.
Is there something that changed in the latest update that would cause this problem?
]]>Hello, my name is Alduin and I’ll be your dragon today ??
A website I have administrator privileges on is using this plugin, and it clutters the log file with this error:
Got error 'PHP message: PHP Warning:
is_dir(): open_basedir restriction in effect. File(/plugin-templates/login-with-ajax/) is not within the allowed path(s): (...) in /.../wp-content/plugins/login-with-ajax/login-with-ajax.php on line 790;
And here is the issue: In wp-content/plugins/login-with-ajax/login-with-ajax.php
there is this line:
$wp_content_folder = path_join( WP_CONTENT_DIR , "/plugin-templates/login-with-ajax/");
path_join()
, as per WordPress docs, checks if $path
(second parameter) is an absolute path – which it is when it starts with a slash. In which case, it just returns $path
. Which is outside open_basedir and, by the way, also never true.
So the fix is to locate this line and change it to:
$wp_content_folder = path_join( WP_CONTENT_DIR , "plugin-templates/login-with-ajax/");
Please, can you make it into the main plugin code so it’ll be update-safe?
Thank you :–)
]]>Hello there,
Updated to 4.2 and now no one can login, register or reset password.
As a developer I had a child theme for this plugin I deleted it, put default WP theme and error is still there so I assume its from your code ?…
It comes when I clique on login or the reset pass button.
On login, I have error like this :
parsererror : Error: jQuery3710553101829145328_1709198294713 was not called
In the chrome dev tool I have a bunch or error from ajaxify.js (error appear when I use the plugin only ofc)
If I found a fix I’ll answer it here, for now Im serching from where it come from
Of course, WordPress is up to date (6.4.3)
Hello,
I’m currently having some issues with “Login with Ajax” plugin and “Listable” theme.
In a few words, I’m not able to add a login modal form to my website.
Users cannot register or log into the website because the “Log In” menu item doesn’t open up any form or redirect to the login page. At the same time, they cannot log out because the “Log Out” menu item is linked to “https://www.mywebsite.com/#listablelogout” which is kind of a blank page.
“Log In”, “Log out” and “Welcome!” menu items are automatically linked to these URLs:
–?https://www.mywebsite.com/#listablelogin
–?https://www.mywebsite.com/#listablelogout
–?https://www.mywebsite.com/#listablecurrentusername
and when I click on them, nothing happens.
Could you please check it and let me know.
Broken Access Control vulnerability in WordPress Login With Ajax Plugin. A broken access control issue refers to a missing authorization, authentication or nonce token check in a function that could lead to an unprivileged user to executing a certain higher privileged action. This vulnerability has not been known to be fixed yet.
https://patchstack.com/database/vulnerability/login-with-ajax/wordpress-login-with-ajax-plugin-4-1-broken-access-control-vulnerability
Hi Guys,
First of all, great and handy plugin, thank you!
We’re getting continuous PHP warnings:
PHP Warning: is_dir(): open_basedir restriction in effect. File(/plugin-templates/login-with-ajax/) is not within the allowed path(s): (/www/example_123/public:/www/example_123/mysqleditor:/www/example_123/web:/www/example_123/deploy:/www/example_123/deployment:/www/example_123/deployments:/usr/share:/tmp) in /www/example_123/public/wp-content/plugins/login-with-ajax/login-with-ajax.php on line 723
We checked in with the Hosting support team, here’s what they said:
Basically, the errors are caused by the plugin “Login With Ajax” that is calling the following absolute path:
/plugin-templates/login-with-ajax/
That absolute path obviously doesn’t exist
The calls are triggered from this file:
/www/example_123/public/wp-content/plugins/login-with-ajax/login-with-ajax.php
So I recommend that you check the plugin’s settings, or check with the plugin’s developers to see where the absolute path can be adjusted.
The correct absolute path seems to be the following one:
/www/example_123/public/wp-content/plugin-templates/login-with-ajax/
Please let me know if this is an issue on our end/server or from plugin side.
Thank You
Hello, the link ‘register’ below the login form is very small and I would like to add a link in my page “create an account”, that show the registration form on the same page (like when I click on register below the login form).
Should I add some JS to make it work?
]]>As title suggests. Error messsage when trying to preview widget with no ability to change settings. Working front end.
]]>Hi,
Thanks
Hi, how do you change the loading image, even if via CSS? Thanks for your great plugin.
]]>Hi there, I’m reporting two of many warnings we’re receiving about ‘Login With Ajax plugin’. I replaced my real domain with ‘domain’ in the following error and client ip with ‘IP’:
PHP message: PHP Warning: is_dir(): open_basedir restriction in effect. File(/plugin-templates/login-with-ajax/) is not within the allowed path(s): (/www/domaincom_987/public:/www/domaincom_987/mysqleditor:/www/domaincom_987/web:/www/domaincom_987/deploy:/www/domaincom_987/deployment:/www/domaincom_987/deployments:/usr/share:/tmp) in /www/domaincom_987/public/wp-content/plugins/login-with-ajax/login-with-ajax.php on line 693PHP message: PHP Warning: is_dir(): open_basedir restriction in effect. File(/plugin-templates/login-with-ajax/) is not within the allowed path(s): (/www/domaincom_987/public:/www/domaincom_987/mysqleditor:/www/domaincom_987/web:/www/domaincom_987/deploy:/www/domaincom_987/deployment:/www/domaincom_987/deployments:/usr/share:/tmp) in /www/domaincom_987/public/wp-content/plugins/login-with-ajax/login-with-ajax.php on line 723″ while reading response header from upstream, client: IP, server: domain.com, request: “GET /en/url/ HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-domaincom.sock:”, host: “domain.com:45005”, referrer: “https://www.google.com/
2023/07/21 14:11:06 [error] 11042#11042: *58701 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key 0 in /www/domaincom_987/public/wp-includes/meta.php on line 636” while reading response header from upstream, client: IP server: domain.com, request: “POST /wp-admin/admin-ajax.php?lang=it HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-domaincom.sock:”, host: “domain.com:45005”, referrer: “url page”
Is there any chance you are working about this?
Thank you,
Silvia
I bought unlimited license and no support for more than 24h ? What’s going on here ?
]]>Hey there,
The title say it all… With adding the reset password form this plugin would be complete. Any plans on adding it ? Currently, I’m coding to change the reset password link cause I dont want to use the original one.
What I mean is to not use the original page and form, have the same style than my login form (that is made with your plugin). So with another shortcode to display somewhere ?
This is similar to a post that is now closed from about a year ago with a similar problem. In my case, we use Cleantalk and their 2FA for login security. With Login with Ajax activated all you get is “An error has occurred”
]]>While login seems to function correctly the “Remember Me” checkbox that is part of the login form does NOT do anything when selected with the mouse. My experimentation found that if I went to another vary basic testing site it does work. Interestingly that site that works is using WordPress 5.3.2 with the Twenty-Ten theme and no other plugins. My failing site is intended for displaying photographs and uses WordPress 6.1.1 and the Photocrati theme which necessarily brings along its’ related gallery plugins but that is it when it comes to plugins at least for now while still in test mode.
I’ve just started to experiment with Login With Ajax. This work is being done on my own test system that runs on my own network.
I’m afraid that if the problem cannot be resolved I’ll have to abandon Login With Ajax and try something else.
]]>When I try to register a new account, I get the message: “Error: Please enter a username.”
]]>I am using plugin with shortcode, like this: [lwa template=”modal” title=”Log In” profile_link=”0″ loggedin_vertical=”1″]. But none of the arguments working except for template, all the other arguments are not received by the plugins (I have already disabled legacy)
]]>If I add custom button on custom location on the page (in .php template page), how do I open lwa modal with that button on click ?
If button is this one:
<a class="button iframe-login-link lwa-links-modal lwa-login-link lwa" >Ulogujte se</a>
And I added shortcode to the same page template to display login form in modal.
do_shortcode('[lwa template="modal"]');
The shortcode output all of the content, the login form in modal. But I can’t figure out how do I trigger modal to display on click of a button?
]]>