• Resolved peq42

    (@peq42)


    I found an issue where, if an user has no blog posts(and isn’t an author), this plugin will throw multiple errors when someone opens their profile

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Okay glad to help. In order to investigate and resolve the issue, I need the basic steps to replicate it on default WordPress. For example, something like:

    1. Activate USP
    2. Visit such and such page
    3. Perform this or that task
    4. Etc., until the issue occurs

    That way I can take a look and try to help asap, thank you.

    Thread Starter peq42

    (@peq42)

    -Activate plugin

    -Register new user

    -Dont make a post and try to access it using website.com/author/UserName/

    -errors will be thrown, like in the example link

    Plugin Author Jeff Starr

    (@specialk)

    Okay step one, activate plugin, got it.

    Step two, are you registering a new user via Users > “Add New” screen? Or some other method?

    And for this:

    “Dont make a post and try to access it using website.com/author/UserName/”

    You’re saying “dont make a post”, and then saying “try to access it”.. so I am confused as to how to access a post that does not exist.. I think you might have meant, “submit a post and access it..”, but want to make sure I am interpreting correctly.

    Thread Starter peq42

    (@peq42)

    step two: I believe either normal registration or add new inside admin, as I saw those errors happen in both cases in my website

    and by “access it”, I meant access the user profile through that link. If the user has a post, it just shows there normally in their profile, if not, the errors are thrown in the page

    Plugin Author Jeff Starr

    (@specialk)

    Thanks. I think I see the issue in the code (still not able to repeat any error). It is a bug and will be fixed in the next plugin update.

    Plugin Author Jeff Starr

    (@specialk)

    Just to follow up, the newest version of the plugin (v20230806) resolves this issue. Thank you for reporting, @peq42.

    Thread Starter peq42

    (@peq42)

    Error fixed! Thanks for the quick update!

    Plugin Author Jeff Starr

    (@specialk)

    You’re very welcome, cheers!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Errors thrown when user is not author’ is closed to new replies.