• Resolved melon78

    (@melon78)


    Working on a site for a client:
    Theme: WordPress 5.8.1 running Scientia Child Theme theme.

    Since I updated the plugin, every new event previewed or published gives a 404 error. I have tried the steps here:

    https://theeventscalendar.com/knowledgebase/k/fixing-http-404-errors/

    – Changing permalinks several times did not help.
    – Changing themes did not help.
    – No plugin conflicts were identified.

    Below is the diagnostic information:

    <Tribe Events Query>
    object(WP_Query)#11647 (55) {
      ["query"]=>
      array(4) {
        ["page"]=>
        string(0) ""
        ["tribe_events"]=>
        string(6) "test-2"
        ["post_type"]=>
        string(12) "tribe_events"
        ["name"]=>
        string(6) "test-2"
      }
      ["query_vars"]=>
      array(54) {
        ["page"]=>
        string(0) ""
        ["tribe_events"]=>
        string(6) "test-2"
        ["post_type"]=>
        string(12) "tribe_events"
        ["name"]=>
        string(6) "test-2"
        ["error"]=>
        string(0) ""
        ["m"]=>
        string(0) ""
        ["p"]=>
        int(0)
        ["post_parent"]=>
        string(0) ""
        ["subpost"]=>
        string(0) ""
        ["subpost_id"]=>
        string(0) ""
        ["attachment"]=>
        string(0) ""
        ["attachment_id"]=>
        int(0)
        ["pagename"]=>
        string(0) ""
        ["page_id"]=>
        int(0)
        ["second"]=>
        string(0) ""
        ["minute"]=>
        string(0) ""
        ["hour"]=>
        string(0) ""
        ["day"]=>
        int(0)
        ["monthnum"]=>
        int(0)
        ["year"]=>
        int(0)
        ["w"]=>
        int(0)
        ["category_name"]=>
        string(0) ""
        ["tag"]=>
        string(0) ""
        ["cat"]=>
        string(0) ""
        ["tag_id"]=>
        string(0) ""
        ["author"]=>
        string(0) ""
        ["author_name"]=>
        string(0) ""
        ["feed"]=>
        string(0) ""
        ["tb"]=>
        string(0) ""
        ["paged"]=>
        int(0)
        ["meta_key"]=>
        string(0) ""
        ["meta_value"]=>
        string(0) ""
        ["preview"]=>
        string(0) ""
        ["s"]=>
        string(0) ""
        ["sentence"]=>
        string(0) ""
        ["title"]=>
        string(0) ""
        ["fields"]=>
        string(0) ""
        ["menu_order"]=>
        string(0) ""
        ["embed"]=>
        string(0) ""
        ["category__in"]=>
        array(0) {
        }
        ["category__not_in"]=>
        array(0) {
        }
        ["category__and"]=>
        array(0) {
        }
        ["post__in"]=>
        array(0) {
        }
        ["post__not_in"]=>
        array(0) {
        }
        ["post_name__in"]=>
        array(0) {
        }
        ["tag__in"]=>
        array(0) {
        }
        ["tag__not_in"]=>
        array(0) {
        }
        ["tag__and"]=>
        array(0) {
        }
        ["tag_slug__in"]=>
        array(0) {
        }
        ["tag_slug__and"]=>
        array(0) {
        }
        ["post_parent__in"]=>
        array(0) {
        }
        ["post_parent__not_in"]=>
        array(0) {
        }
        ["author__in"]=>
        array(0) {
        }
        ["author__not_in"]=>
        array(0) {
        }
      }
      ["tax_query"]=>
      NULL
      ["meta_query"]=>
      bool(false)
      ["date_query"]=>
      bool(false)
      ["post_count"]=>
      int(0)
      ["current_post"]=>
      int(-1)
      ["in_the_loop"]=>
      bool(false)
      ["comment_count"]=>
      int(0)
      ["current_comment"]=>
      int(-1)
      ["found_posts"]=>
      int(0)
      ["max_num_pages"]=>
      int(0)
      ["max_num_comment_pages"]=>
      int(0)
      ["is_single"]=>
      bool(true)
      ["is_preview"]=>
      bool(false)
      ["is_page"]=>
      bool(false)
      ["is_archive"]=>
      bool(false)
      ["is_date"]=>
      bool(false)
      ["is_year"]=>
      bool(false)
      ["is_month"]=>
      bool(false)
      ["is_day"]=>
      bool(false)
      ["is_time"]=>
      bool(false)
      ["is_author"]=>
      bool(false)
      ["is_category"]=>
      bool(false)
      ["is_tag"]=>
      bool(false)
      ["is_tax"]=>
      bool(false)
      ["is_search"]=>
      bool(false)
      ["is_feed"]=>
      bool(false)
      ["is_comment_feed"]=>
      bool(false)
      ["is_trackback"]=>
      bool(false)
      ["is_home"]=>
      bool(false)
      ["is_privacy_policy"]=>
      bool(false)
      ["is_404"]=>
      bool(false)
      ["is_embed"]=>
      bool(false)
      ["is_paged"]=>
      bool(false)
      ["is_admin"]=>
      bool(false)
      ["is_attachment"]=>
      bool(false)
      ["is_singular"]=>
      bool(true)
      ["is_robots"]=>
      bool(false)
      ["is_favicon"]=>
      bool(false)
      ["is_posts_page"]=>
      bool(false)
      ["is_post_type_archive"]=>
      bool(false)
      ["query_vars_hash":"WP_Query":private]=>
      string(32) "50a835163b4a07b470e24762c8137997"
      ["query_vars_changed":"WP_Query":private]=>
      bool(false)
      ["thumbnails_cached"]=>
      bool(false)
      ["stopwords":"WP_Query":private]=>
      NULL
      ["compat_fields":"WP_Query":private]=>
      array(2) {
        [0]=>
        string(15) "query_vars_hash"
        [1]=>
        string(18) "query_vars_changed"
      }
      ["compat_methods":"WP_Query":private]=>
      array(2) {
        [0]=>
        string(16) "init_query_flags"
        [1]=>
        string(15) "parse_tax_query"
      }
      ["tribe_is_event"]=>
      bool(true)
      ["tribe_is_multi_posttype"]=>
      bool(false)
      ["tribe_is_event_category"]=>
      bool(false)
      ["tribe_is_event_venue"]=>
      bool(false)
      ["tribe_is_event_organizer"]=>
      bool(false)
      ["tribe_is_event_query"]=>
      bool(true)
      ["tribe_is_past"]=>
      bool(false)
    }
    Query Results:
    
    array(0) {
    }
    is_404() =
    
    bool(false)
    </Tribe Events Query>

    Does anyone know what the problem could be?

    • This topic was modified 4 years, 9 months ago by melon78.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Masood

    (@masoodak)

    Hi @melon78,

    Thanks for reaching out!

    Would you be so kind as to provide me URL of a single event page throwing 404 not found error so that I can have a quick look at the frontend.

    If possible, kindly do share your system information with me as well,
    https://theeventscalendar.com/knowledgebase/k/sharing-your-system-information/

    Thread Starter melon78

    (@melon78)

    I managed to fix the problem.

    1) I deleted all the new problematic events I had created which were showing 404 errors.

    2) I also unchecked the “Activate Block Editor for Events” option too which disables the Gutenberg editor:
    Events > Settings > General Settings

    • This reply was modified 4 years, 9 months ago by melon78.
    Plugin Support Chika Ibeneme

    (@chikaibeneme)

    Hi All!

    Thanks so much for your time here. I’m so glad that you were able to resolve the issue!

    We’ll be closing this post as there has been no activity! Please feel free to open a new thread if any other questions come up and we’d be happy to help. 🙂

    Thank you,
    Chika

    Just want to say thanks to @melon78! I had this same issue, that checkbox fixed it. I am using Divi theme and also had to disable that builder on the events post type.

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

The topic ‘New Events show a 404 error’ is closed to new replies.