[ticketed] Error on Event Settings Page after installing

Home Forums September 2013 Filters Bar Beta [ticketed] Error on Event Settings Page after installing

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #66219
    mattsokoloff
    Participant

    I installed the plugin on my live site. Clicked on Events –> Settings
    Takes me to:
    wp-admin/edit.php?post_type=tribe_events&page=tribe-events-calendar
    On this page I get a 500 Error.

    I installed on my staging site. Events –> Settings
    wp-admin/edit.php?post_type=tribe_events&page=tribe-events-calendar
    I get:
    Fatal error: Class ‘TribeEventsPro’ not found in /nas/wp/www/staging/bungalower/wp-content/plugins/events-filters/lib/tribe-filter-view.class.php on line 661

    The same happens on the help tab of the events plugin

    deactivated all plugins and am back on 2012 theme.

    Staging site is: http://bungalower.staging.wpengine.com/events/
    Note that I can access all other areas of the event admin with the exception of settings and help

    Also tried deactivating Events Calendar: Facebook plugin…did not resolve issue.
    FWIW I am using the free version of Events Calendar and not Events Calendar Pro

    #66343
    Thomas Dexter
    Guest

    I am also getting the same error trying to access the settings page. I am also using the free version of The Events Calendar:

    Notice: Undefined property: WP_Query::$tribe_is_event_query in /sites/www/htdocs/gc/wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on line 2115 Fatal error: Class 'TribeEventsPro' not found in /sites/www/htdocs/gc/wp-content/plugins/events-filters/lib/tribe-filter-view.class.php on line 661

    #66358
    Thomas Dexter
    Guest

    I’m not sure if this is the best fix for the issue but I was able to do away with the error and access the settings page using class_exists(); like so:


    if(class_exists('TribeEventsPro')){
    $args = TribeEventsPro::array_insert_after_key( 'tribeDisableTribeBar', $args, array(
    'eventsFiltersLayout' => array(
    'type' => 'radio',
    'label' => __( 'Filters Layout', 'tribe-events-filter-view' ),
    'default' => 'vertical',
    'options' => array(
    'vertical' => __( 'Vertical', 'tribe-events-filter-view' ),
    'horizontal' => __( 'Horizontal', 'tribe-events-filter-view' ),
    ),
    'validation_type' => 'options',
    ),
    ) );
    } else {
    $args = TribeEvents::array_insert_after_key( 'tribeDisableTribeBar', $args, array(
    'eventsFiltersLayout' => array(
    'type' => 'radio',
    'label' => __( 'Filters Layout', 'tribe-events-filter-view' ),
    'default' => 'vertical',
    'options' => array(
    'vertical' => __( 'Vertical', 'tribe-events-filter-view' ),
    'horizontal' => __( 'Horizontal', 'tribe-events-filter-view' ),
    ),
    'validation_type' => 'options',
    ),
    ) );
    }

    #66360
    Thomas Dexter
    Guest

    Btw, the code above replaces the entire $args array that starts at Line 661 on tribe-filter-view.class.php

    #66427
    Leah
    Member

    Damn, I think the Filters Bar isn’t working without PRO! I tried installing it on a clean site with just The Events Calendar and got a Server Error when trying to see the Settings and Help Pages.

    I’m going to bring this to our devs attention ASAP so hopefully we can get you a new version that will work. I really appreciate you reporting this issue. I’m glad we have some beta testers using The Events Calendar without PRO!

    #66433
    Leah
    Member

    Matt, any chance you’re able to try Thomas’s solution? I want you to be able to use the Filters plugin, and I could give you a .zip for Events Calendar PRO, but on the other hand I’d love to have you keep testing Filters + The Events Calendar.

    ~Leah

    #66522
    mattsokoloff
    Participant

    Bingo…that works. I’ll keep testing on this version.

    #66603
    Leah
    Member

    Great, thank you both!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘[ticketed] Error on Event Settings Page after installing’ is closed to new replies.