• There is user profile picture upload , error “unexpeted token in Json…” is showing up, without profile pictue the membership, I can not use this plugin. The error it seems, is syntax error.

    the exact error meesage is

    “ERROR: SyntaxError: Unexpected token < in JSON at position 0”

    I liked everything about your plugin, apart from this error, yours is the best among user profile category,

    • This topic was modified 4 years, 6 months ago by sudhir2518.
    • This topic was modified 4 years, 6 months ago by sudhir2518.
    • This topic was modified 4 years, 6 months ago by sudhir2518.
Viewing 1 replies (of 1 total)
  • Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @sudhir2518

    Could you add these lines to your wp-config.php file

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );

    And after that upload the user’s profile picture and check the file content in wp-content/debug.log. Please send me this content.

    Let me know,
    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Profile picture upload – error’ is closed to new replies.