404 Errors on all Events Pages

Home Forums Calendar Products Events Calendar PRO 404 Errors on all Events Pages

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #998718
    Houman
    Participant

    I am getting 404 errors on all events pages
    go to http://www.storytrading.com/events/ and click on any event. 404 errror!

    is this because of the code you gave me to add to function.php to fix the 404 error on community pages?

    This was the code that was added:
    /*
    * Possible solution for Single Event page 404 errors where the WP_Query has an attachment set
    * IMPORTANT: Flush permalinks after pasting this code: http://tri.be/support/documentation/troubleshooting-404-errors/
    */
    function tribe_attachment_404_fix () {
    if (class_exists(‘TribeEvents’)) {
    remove_action( ‘init’, array( TribeEvents::instance(), ‘init’ ), 10 );
    add_action( ‘init’, array( TribeEvents::instance(), ‘init’ ), 1 );
    }
    }
    add_action( ‘after_setup_theme’, ‘tribe_attachment_404_fix’ );

    • This topic was modified 10 years, 8 months ago by Houman.
    • This topic was modified 10 years, 8 months ago by Brian.
    #998724
    Houman
    Participant

    this is fixed. The code somehow went missing. Had to re-insert into functions.php

    #998835
    Brian
    Member

    I am glad to see you were able to fix this issue.

    Since the issue is resolved I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘404 Errors on all Events Pages’ is closed to new replies.