Events+ Plugin Spits out a 500 error when I visit the url with the root slug.

I have a site that works on our staging server but doesn't work on the live server.

The domain is: http://danielburkett.com/
Plugin Version: 1.7.3

Description of the problem:
I keep getting a 500 error When viewing the page with the slug defined in Events->Settings.
If I go to a sub page like http://danielburkett.com/schedule/2014/ It loads as it should but just going to the root slug doesn't work.

I have tried disabling the Events+ plugin and my problem was solved but the events calendar didn't work. When I re-enabled the plugin the page breaks again. Also I called up the hosting company and they couldn't find anything. They tried to change the max execution time to 2 minutes but that didn't help anything.
Other Notes:
I have a page with the slug "schedule" and have the root slug set to be "schedule" in Events->Settings.

  • Vaughan

    Hi @jesse,

    Do you have any error logs?

    You can usually find an error_log in your sites root.

    If not, can you add the following to your wp-config.php

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG',true);
    define('WP_DEBUG_DISPLAY', false);

    This will then create a debug.log file in your wp-content folder. So try going to the page where the error occurs, then check the log file.

    Hopefully this will give us some idea of the cause.

    Hope this helps

  • Jesse

    Once I added your 3 lines into the wp-config.php file I got the following:

    [10-Jun-2014 20:19:51] PHP Notice:  Undefined index: custom_fields_map in /var/www/vhosts/danielburkett.com/httpdocs/wp-content/plugins/wpmu_dev_maps_plugin/lib/class_agm_user_maps.php on line 42
    [10-Jun-2014 20:19:51] PHP Notice:  WP_User->id was called with an argument that is <strong>deprecated</strong> since version 2.1! Use <code>WP_User->ID</code> instead. in /var/www/vhosts/danielburkett.com/httpdocs/wp-includes/functions.php on line 3006
    [10-Jun-2014 20:19:51] PHP Notice:  WP_User->id was called with an argument that is <strong>deprecated</strong> since version 2.1! Use <code>WP_User->ID</code> instead. in /var/www/vhosts/danielburkett.com/httpdocs/wp-includes/functions.php on line 3006
    [10-Jun-2014 20:19:51] PHP Notice:  Undefined index: custom_fields_map in /var/www/vhosts/danielburkett.com/httpdocs/wp-content/plugins/wpmu_dev_maps_plugin/lib/class_agm_user_maps.php on line 42
    [10-Jun-2014 20:19:59] PHP Notice:  Undefined offset: 0 in /var/www/vhosts/danielburkett.com/httpdocs/wp-content/plugins/shnewsaggregator/shnewsaggregator.php on line 252
    [10-Jun-2014 20:19:59] PHP Notice:  Undefined offset: 0 in /var/www/vhosts/danielburkett.com/httpdocs/wp-content/plugins/shnewsaggregator/shnewsaggregator.php on line 252
    [10-Jun-2014 20:19:59] PHP Notice:  Undefined offset: 0 in /var/www/vhosts/danielburkett.com/httpdocs/wp-content/plugins/shnewsaggregator/shnewsaggregator.php on line 252
    [10-Jun-2014 20:19:59] PHP Notice:  Undefined index: custom_fields_map in /var/www/vhosts/danielburkett.com/httpdocs/wp-content/plugins/wpmu_dev_maps_plugin/lib/class_agm_user_maps.php on line 42

    I don't see how those would affect anything.

    Does it help you any?

    Thank you for looking into this. I really appreciate it.

  • Jesse

    It slows stops processing within this part of /lib/class_eab_collection.php

    I think it has got to do with the "eab-collection-upcoming-end_timestamp" filter

    $args = array_merge(
    $args,
    array(
    'post_type' => 'incsub_event',
    'post_status' => array('publish', Eab_EventModel::RECURRENCE_STATUS),
    'suppress_filters' => false,
    'meta_query' => array(
    array(
    'key' => 'incsub_event_start',
    'value' => apply_filters('eab-collection-upcoming-end_timestamp', "{$end_year}-{$end_month}-01 00:00"),
    'compare' => '<',
    'type' => 'DATETIME'
    ),
    array(
    'key' => 'incsub_event_end',
    'value' => apply_filters('eab-collection-upcoming-start_timestamp', "{$year}-{$start_month}-01 00:00"),
    'compare' => '>=',
    'type' => 'DATETIME'
    ),
    array(
    'key' => 'incsub_event_status',
    'value' => $forbidden_statuses,
    'compare' => 'NOT IN',
    ),
    ),
    'posts_per_page' => apply_filters('eab-collection-upcoming-max_results', EAB_MAX_UPCOMING_EVENTS),
    )
    );

  • Jose

    Hi there @Jesse,

    Thanks for your patience with this issue. The work load on my queue was terrific.

    I'll take a further look to this if you can please send me the following information via <a href="https://premium.wpmudev.org/contact/
    ">contact form:

    - In the subject field add "Attn: Jose”
    - Link back to this thread
    - Include admin/network access
    - Include FTP
    - Include any relevant URLS for your site

    On the contact form, select "I have a different question", this ensures it comes through and gets assigned to me.

    Cheers!,
    JJ

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.