• Resolved elmalak

    (@elmalak)


    Hi,
    I know I am not saying anything new here as I can see a lot of people have had the same issue.

    I read most of the post and tried resaving permalinks and clearing cache and disabling my caching plugin but it’s not working.
    I also tried resave the custom posts and permalinks but it’s not getting them back.

    I don’t know if my case is more complicated or what as I am using Custom Post Permalinks as well.

    Please, advise me on the best action to get my content back.

    https://www.elmalakrx.com/Arabic/

    Regards,
    Mamdouh

    https://www.ads-software.com/plugins/custom-post-type-ui/

Viewing 13 replies - 31 through 43 (of 43 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hubert, it’s just a temporary issue for anyone that went to the 1.0.0 or 1.0.1 versions as I fixed issues. It’s not a permanent thing.

    Let’s do it this way, add this to your functions.php file, and then refresh any page, and then delete it from the functions.php

    function cptui_options_fix() {
        delete_option( 'cptui_post_types' );
        delete_option( 'cptui_taxonomies' );
    }
    add_action( 'init', 'cptui_options_fix' );

    It’ll delete both and allow 1.0.2 to re-convert the 0.9.5 version. Just remember to leave this in long enough to be triggered once, and then remove from the functions.php.

    Cool, I’ll look into it when I got a chance. Maybe you could add a flag in the options so that it won’t try to delete the options after doing this once. My site gets hit quite a bit, and I’ve got many people working on it at any given time, so I can’t guarantee that only one page refresh will happen, and we probably don’t want options to be deleted more than once?

    Thread Starter elmalak

    (@elmalak)

    Hi Michael,
    Please, check your email now.

    Appreciate your care.

    Regards,
    Mamdouh

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    received Mamdouh,

    Hubert, it’s not going to be detrimental to your website if the setting happens more than once within the span of a minute, as all it would do is just re-clear the setting. However, since we only need the “bad” version gone, we only need to have it cleared once, thus why you’ll want to remove it right away once cleared. Any other time, and it’s just re-clearing the “good” version that would be regenerated again afterwards.

    Hi Michael,

    I just installed the plugin on my beta site and I am getting 404 errors on all posts I am trying to create. I must say, my existing theme code uses some rewrite rules on its own which may conflict.

    Could I send you my beta login details for you to look? Might help to figure out any problems for other users too..

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Maraki, have you tried flushing the rewrite rules yet by visiting the permalinks page?

    I’ll try on a dev site. Thanks Michael.

    Another question: if I uninstall the plig-in, will it delete the settings in the database? (old or new)

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    No, we don’t delete it at this point. 2 rows in the db that don’t take up much space at all, we just leave.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Is anyone willing to help me test 1.0.3? Specifically anyone that’s already on 1.0.2 and has it working? There are some rewrite rule logic changes that I’m worried about for people who got back to a good place, and I would love to have it confirmed that these changes do not break something again. If you have a dev site that you can try it on, I would appreciate you for forever.

    Doing what I can to prevent more issues on a mass scale, if possible. Please let me know and I’ll link you to the appropriate zip file.

    I was asking to know if upgrading was reversible in case things don’t pan out. If you leave the DB intact, then we could always re-install an older version that worked.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hubert, no we don’t delete any of our very few options saved. You can revert to 0.9.5 if you need and return to your original settings. One of the smartest things I did regarding this latest update. Leave the original values alone.

    Upgrading from 0.8.5 to Version 1.0.5 works for me. Thanks!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    sweet sweet, wonderful success. This is leaving me hope.

Viewing 13 replies - 31 through 43 (of 43 total)
  • The topic ‘Update to 0.9 made all my links give 404 errors’ is closed to new replies.