Errors thrown when user is not author

[ad_1]

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

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

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.

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer