ruen06
Forum Replies Created
-
Thanks much! The code works.
Yes all the time.
Also remember it worked perfectly previously.
This happens to both newly registered users and existing users on my site. It just doesn’t create the folder in wp-content/uploads anymore
- This reply was modified 2 years, 2 months ago by ruen06.
Thanks!
No, the folder isn’t created
There is a default profile photo for all users. But this doesn’t affect the generation of vcard previously.
The only difference might be I added a custom dropdown field. Not sure whether the dropdown field will affect the generation of vcard
Hi, I tried to debug on my live site.
This is the additional error recorded when I was editing a user’s profile
[29-Dec-2022 18:04:39 UTC] PHP Warning: file_put_contents(/var/web/site/public_html/wp-content/uploads/ultimatemember/368/vcard.vcf): Failed to open stream: No such file or directory in /var/web/site/public_html/wp-content/plugins/um-vcard/vendor/jeroendesloovere/vcard/src/Formatter/Formatter.php on line 91
[29-Dec-2022 07:45:02 UTC] PHP Notice: Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the
wp_enqueue_scripts
,admin_enqueue_scripts
, orlogin_enqueue_scripts
hooks. This notice was triggered by thetqrtoken-public-config
handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/web/staging/public_html/wp-includes/functions.php on line 5835
[29-Dec-2022 07:50:02 UTC] PHP Notice: Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until thewp_enqueue_scripts
,admin_enqueue_scripts
, orlogin_enqueue_scripts
hooks. This notice was triggered by thetqrtoken-public-config
handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/web/staging/public_html/wp-includes/functions.php on line 5835
[29-Dec-2022 07:55:02 UTC] PHP Notice: Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until thewp_enqueue_scripts
,admin_enqueue_scripts
, orlogin_enqueue_scripts
hooks. This notice was triggered by thetqrtoken-public-config
handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/web/staging/public_html/wp-includes/functions.php on line 5835These are the errors in the file. No Javascript errors.
There are only vcard files created previously when the extension works.
No, it doesn’t
Thanks! This works perfectly
Having said that, can you run a quick test? If you reset the 2FA setup for a user, can you please confirm it if works then for a few days?
yes, works for some time
Which issue did you mean? The issue of 2FA didn’t work after some time?
Or the two situations that caused the WordPress error message?For the salts changing issue, I am sure I am clear enough on reporting the issue.
For the two situations that caused the WordPress error message,
I am unsure whether the issue of two situations causing WordPress error is related to the salts changing issue. But since I get the same WordPress error message when trying to login so I note it under this topic for your reference.And obviously, I have used your plugin for some time, so this is not a new install.
That was my first time trying to log in using the method mentioned in the two situations.Has anything else changed since you have disabled the refreshing of WordPress salts?
No.
By the way, when you get that error, which is reported by WordPress and not our plugin, WordPress sends you an email with the logs and information about the error. Can you please forward them to us via email at [email protected] so we can assist you?
I am sure it is caused by your plugin. WordPress didn’t email us anything. The error message only shows when I do the actions mentioned in the two situations.
https://wp2fa.io/support/kb/how-to-enable-2fa-backup-methods/
https://wp2fa.io/support/kb/configure-email-otp-2fa-backup/I guess it becomes a premium feature as ‘Secondary 2FA backup method’ is only in Premium