Home › Forums › September 2013 Filters Bar Beta › [ticketed] Error on Event Settings Page after installing
- This topic has 7 replies, 2 voices, and was last updated 12 years, 6 months ago by
Leah.
-
AuthorPosts
-
September 16, 2013 at 6:58 pm #66219
mattsokoloff
ParticipantI 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 661The 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 ProSeptember 17, 2013 at 7:53 am #66343Thomas Dexter
GuestI 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 661September 17, 2013 at 8:29 am #66358Thomas Dexter
GuestI’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',
),
) );
}
September 17, 2013 at 8:33 am #66360Thomas Dexter
GuestBtw, the code above replaces the entire $args array that starts at Line 661 on tribe-filter-view.class.php
September 17, 2013 at 1:20 pm #66427Leah
MemberDamn, 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!
September 17, 2013 at 1:32 pm #66433Leah
MemberMatt, 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
September 17, 2013 at 6:35 pm #66522mattsokoloff
ParticipantBingo…that works. I’ll keep testing on this version.
September 18, 2013 at 7:26 am #66603Leah
MemberGreat, thank you both!
-
AuthorPosts
- The topic ‘[ticketed] Error on Event Settings Page after installing’ is closed to new replies.
