Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • devinswett

    (@devinswett)

    For me, the javascript error appeared to be coming from an incorrect element getting confused for a repeater child element. Then when the JS tries to parse it, it’s completely unexpected, and ruins our day.

    For me the fix came around line 222, just beneath the list of the variable declarations, just add a simple check to make sure ‘childInfo’ is defined.

    if (childInfo === undefined) {
    return false;
    }

    Yeah, I realize that https://domain.com/?p=123 isn’t valid for custom post types, I mentioned it more as a step that I took to show that there shouldn’t be any conflicts from page urls. But you’re right, it doesn’t really have a bearing on this situation.

    The custom post type slug that isn’t working is ‘class’, I don’t have any pages with either slug or name ‘class’ or anything even close to it.

    … And in writing all of this out, I re-updated WordPress core to do some testing, and everything works fine now. Maybe it was an issue with my original WordPress update, apologies for wasting your time.

    I really appreciate the plugin and the support!

    I’m having this same issue. I updated to WP 4.4, and my custom post type pages started having the same “This webpage has a redirect loop, ERR_TOO_MANY_REDIRECTS” issue.

    I deactivated all of my plugins and found that CPT UI was the source. With every other plugin deactivated (except CTP UI), I’m still having this issue. I don’t have any redirect plugins installed.

    I’ve tried changing the slug as suggested above, with no luck.
    I’ve also purged my .htaccess doc and recreated it. No luck.
    I also tried changing the permalink settings from /%postname%/ to the standard https://domain.com/?p=123 and that doesn’t work either.

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