Viewing 15 replies - 1 through 15 (of 25 total)
  • @ruen06

    Can you try to clear the UM User cache at the UM Dashboard
    and let us know if this solves your VCard issue.

    Thread Starter ruen06

    (@ruen06)

    No, it doesn’t

    @ruen06

    Can you look at the user upload folder with a file manger or FTP Client if you have any file of the type vcf.

    Thread Starter ruen06

    (@ruen06)

    There are only vcard files created previously when the extension works.

    @ruen06

    1. Look at your browser web console if you have any JavaScript errors.

    2. Enable PHP error logging, read this guide: “How to enable debug logging”

    https://docs.ultimatemember.com/article/1751-enable-debug-logging

    Test editing a user profile.
    Test a Registration of a new user.
    Both tests should generate a VCard file.

    You will probably get a PHP log file with notices and errors after these tests:
    /wp-content/debug.log

    Post the content of this file here in the Forum and we can give you the PHP error explanation.

    Thread Starter ruen06

    (@ruen06)

    [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, or login_enqueue_scripts hooks. This notice was triggered by the tqrtoken-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 the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the tqrtoken-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 the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the tqrtoken-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

    These are the errors in the file. No Javascript errors.

    @ruen06

    This notice was triggered by the tqrtoken-public-config handle.

    I can’t find anything about this function causing the PHP notice.

    You can try to do a Theme/Plugin conflict test:

    https://docs.ultimatemember.com/article/96-how-to-do-a-plugin-theme-conflict-test

    Thread Starter ruen06

    (@ruen06)

    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

    @ruen06

    Have you uploaded any other files like Photos for this user 368?

    Thread Starter ruen06

    (@ruen06)

    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

    @ruen06

    Do you have this folder .../wp-content/uploads/ultimatemember/368/ created?

    Thread Starter ruen06

    (@ruen06)

    No, the folder isn’t created

    @ruen06

    The VCard plugin expects the user uploads folder to exist.

    This is a bug and I will try to fix it with a code snippet until the UM Developers have fixed the plugin source code.

    Thread Starter ruen06

    (@ruen06)

    Thanks!

    @ruen06

    I have now got this issue at my UM site by removing an user uploads folder.

    During the Registration the folder is created and a VCard is created with the Registration fields.

    This issue is for the UM sites where the VCard Plugin is being introduced for existing users.

    • This reply was modified 1 year, 10 months ago by missveronica.
Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Vcard extension doesn’t work anymore’ is closed to new replies.