• Resolved rickg

    (@sitetherapy-rick)


    I have a client with a legacy news site where they’ve assigned multiple authors by creating synthetic single authors. That is, they’ve created an author named things like “Bob and Billy” and created an email for that person. They’d like to go back and update posts, adding Bob as one author and Billy as another (both Bob and Billy would be normal WP user accounts with Author or better roles).

    However, when testing this, I added the individual Bob and Billy users as authors and removed the synthetic Bob and Billy user. I click Update and… everything reverts. The synthetic user is back as the sole author and the two individual authors are not listed at all. Note that this is all on the backend.

    This is with a fully custom theme – are there specific things that need to be done in a theme to get this to save? I see there are some things to do in order to get the authors displayed on the front end but I’m concerned that the information isn’t even saving.

    • This topic was modified 2 years, 8 months ago by rickg.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter rickg

    (@sitetherapy-rick)

    Hello?

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @sitetherapy-rick

    Thanks for using PublishPress Authors. We do our best to answer all posts here quickly, but there are no guarantees.

    My first guess is that there’s a plugin or theme conflict. Please make a copy of this site and try disabling plugins and themes to see if disabling any of them will fix this Authors issue.

    Thread Starter rickg

    (@sitetherapy-rick)

    It’s the Classic Editor plugin (v 1.6.2). Your plugin actually saves the author fine (you can see the updated authors in the admin post listing) but when hitting Update and the admin screen refreshes, the newly added author(s) don’t show in the admin screen. They do if Classic Editor is disabled.

    Thanks.

    • This reply was modified 2 years, 8 months ago by rickg.
    • This reply was modified 2 years, 8 months ago by rickg.
    Plugin Author Steve Burge

    (@stevejburge)

    Hi @sitetherapy-rick

    Sorry, we don’t see this in our testing and there haven’t been more reports. I know we have a lot of users on Classic Editor.

    Could you give us steps to re-create this on a new WordPress site?

    Thread Starter rickg

    (@sitetherapy-rick)

    Sorry, last week was busy. I’ll spin up a new site and see if I can replicate this for you.

    Thread Starter rickg

    (@sitetherapy-rick)

    I don’t know what to tell you. I created a new blank site, two authors. Classic Editor.

    First issue: I create a post and assigned an author. This saved fine. Trying to assign a second author, the search told me that there were no results when i typed in the author name. This happens with and without the Classic editor plugin active.

    Second issue: As above. This test site shows the problem even with the class editor off. It’s possible this is a visual bug due to an extension in Safari or something. If I back out of the post and then, in the admin listing, click it to edit it again, the name shows. But even if I refresh, it does not show on the admin screen right after adding the second author.

    This isn’t a 100% showstopper for my use case but it does have the potential to confuse editors and make them less confident in the process.

    PS: If you want access to this staging site, let me know.

    • This reply was modified 2 years, 7 months ago by rickg.
    Plugin Author Steve Burge

    (@stevejburge)

    Hi @sitetherapy-rick. Thanks for the follow up.

    Sorry, I can’t recreate this in our testing and we’ve had no reports of these issues either.

    Please try with different browsers, or perhaps different PHP versions, or server environments.

    Thread Starter rickg

    (@sitetherapy-rick)

    /shrug. This is php 8.0, mysql 8, new nginx site on a Linode VPS. Using current Safari. I’d expect all this to work fine. If your plugin requires Chrome etc, that’s… not a good decision from my perspective.

    I don’t particularly care if others don’t see it, I can see it on a clean environment and an existing site. As I said, if you want to get access to investigate this, let me know. IF not, that’s fine.

    Thread Starter rickg

    (@sitetherapy-rick)

    @stevejburge

    Found out the root cause of this. It’s object caching being enabled. Specifically, the Redis cache. This may or may not be specific to the way SpinupWP configures that cache, but disabling it solves the issue and lets the new authors display correctly in the admin when you update the post.

    If you run into this with other clients and they’re on Spinup, you can have them insert this into the wp-config.php and it will disable Redis on their site:

    define( ‘WP_REDIS_DISABLED’, true );

    Plugin Author Steve Burge

    (@stevejburge)

    Thanks for following up on that @sitetherapy-rick

    Across all our plugins, we’ve definitely seen a few problems with some of these new object caches. I’ll add this to our troubleshooting documentation.

    Thread Starter rickg

    (@sitetherapy-rick)

    You’re welcome. A bit more info… it appears like the author updates are not saved in the post edit screen. However if you look at the post listing, you’ll see the results of the edits there. Same if you look at the actual post on the front end. What’s disconcerting is adding/editing the authors on a post, hitting Update and seeing the changes apparently not saved. I need to play with this a bit more but it seems that page caching being on is fine but the object caching causes this.

    What I need to do is see if there’s a way to configure the cache so that it invalidates when the author is updated on a post.

    Plugin Author Steve Burge

    (@stevejburge)

    Thanks @sitetherapy-rick

    We’ve slowly been building specific solutions for each new cache. Each one requires a different fix. Unfortunately, each hosting company seems to have their own approach.

    Hello, not sure this is relevant to above or not..

    Can’t see the author comments in the post edit area of woocommerce product pages.

    Cannot seem to update the comments in the Reviews dedicated page, from a recent update. Not all the relevant reviews update, some do, some don’t. We need to change the author I.Ds of some customer names for their privacy. Cannot do it in one go, takes 2 or 3 times to edit and save, it does not reflect back onto the product listing page in the reviews tab.

    Any suggestions guys?

    Thanks

    • This reply was modified 2 years, 3 months ago by bexster365.
    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @bexster365

    I’m not quite sure if it’s related, however opening 4 months thread discussion is not a good idea. We recommend you to open a new discussion instead so it will be more focused.

    Thanks,

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Authors Not Saved’ is closed to new replies.