Viewing 15 replies - 46 through 60 (of 86 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Interesting.

    Here’s the code used in the has_archive spot during the actual registration:

    $has_archive = get_disp_boolean( $post_type['has_archive'] );
    if ( !empty( $post_type['has_archive_string'] ) ) {
    	$has_archive = $post_type['has_archive_string'];
    }

    The first line gets the boolean version of what’s saved, which is usually string at the moment. Then if there’s anything in the text field right below it, it’ll use that instead.

    Curious if I should be doing a trim() on that spot to ensure no stray white space added accidentally somehow.

    vpr

    (@vpr)

    I found out the reason is the “With Front” Option. Setting it to true has no effect in the current version. Resaving the permalinks does not fix it. All Posts are accessible with “/blog” in URL. It makes no difference setting the “With Front” to true or false. It’s always “false”.

    I have the same problem, get_permalink() returns the url without front.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    What version are you presently running vpr?

    vpr

    (@vpr)

    WordPress 4.1.1
    Custom Post Type UI 1.0.2

    Also tried with 1.0.3, same issue. Rolling back to 0.8.5 fixed the situation for now.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    VPR, could you email me the contents of your post type’s export textarea? michael @ webdevstudios . com.

    I find it odd that it’s not taking regardless of setting, especially with version 1.0.3.

    Also out of curiosity, had you tried saving the post types again, without making any edits? It’s possible that that could have cleared up an issue with the values.

    vpr

    (@vpr)

    I tried saving again with 1.0.2, not sure if I tried with 1.0.3. Email sent.

    Trevsweb

    (@trevsweb)

    Hi, having the same 404 error on my post types.
    Data is all saved, admin menus are working and some content brought up via a template request but looking at the singular post item returns a 404

    Tried flushing permalinks
    Tried Has_archive
    nothing is bringing it back online

    example:
    Template based list working: https://www.plant-lore.com/news/
    Single based news article not working: https://www.plant-lore.com/news/st-davids-daffodils-2015/

    Version 1.0.3
    WP 4.1.1

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    VPR, sorry for the confusion, I was requesting the contents when on 1.0.x, not the “Get Code” from 0.8.x, which is going to be the still working version. Similar to: https://cl.ly/image/0Y3k3Y0A1P2f

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Trevsweb, since it looks like you’re experiencing a white screen, instead of a “proper” 404 error, it seems like you probably have some sort of PHP error occurring in your single.php or single-news.php file, whichever you may have for your site. You should be able to get more information on that part by enabling debugging for the website, however I’m not sure how live the site is, which may not be ideal. You should have error logs somewhere that will help.

    Matt Gibbs

    (@mgibbs189)

    For everyone experiencing 404s:

    Go into Settings > Permalinks, and just hit “Save Changes”.

    This will rebuild WP’s rewrite rules, which in my case resolves the issue.

    Trevsweb

    (@trevsweb)

    His version 1.0.4 still showing 404
    https://www.plant-lore.com/plantofthemonth/ye-olde-wishing-cork-tree/
    fixed the 404 theme template error from before no longer showing whitepage but the proper 404 page.

    please help
    tried permalink flush again and posttype/taxonomy refresh

    plant-lore.com [Sat Mar 07 00:37:58 2015] [error] [client xxxxxxxxx] AH01215: PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING in xxxxxxxxxxx/404.php on line 16

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Trevsweb could you email me the contents of the “Export” tab for your post types?

    michael @ webdevstudios . com

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not sure what the error may be from. I can’t guarantee that’s from us.

    This is frustrating on my end, as I imported your settings that you sent me and am having no trouble getting things working. However, you are. Once I figure out why, I think I’ll be having a better time overall.

    Would you be willing to help with one more thing to see if it helps lead me somewhere new? I wrote up a plugin last night that will do a bunch of data collection for old CPTUI settings, new CPTUI settings, grab registered objects for them, if they exist(they should) as well as WP version, multisite status, permalink structure chosen and plugin version. I’m curious if you’d be willing to install it and email me the results? It’ll be a more comprehensive comparison for myself.

    Trevsweb

    (@trevsweb)

    Yes no problem I’m happy to help. you should have my email

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Emailed.

Viewing 15 replies - 46 through 60 (of 86 total)
  • The topic ‘Updated and now 404’ is closed to new replies.