Forum Replies Created

Viewing 1 replies (of 1 total)
  • Also having this or a similar issue. Event details works fine without an instance ID in the as a GET variable (?instance_id= -OR- missing entirely), but as soon as you add one (?instance_id=3) there is a fatal error. Here’s the stack trace if that helps at all:

    Fatal error: Uncaught exception 'Ai1ec_Event_Not_Found' with message 'Event with ID '4690' could not be retrieved from the database.' in /apps/home/dshtest/public_html/cgi-bin/wordpress/wp-content/plugins/all-in-one-event-calendar/app/model/class-ai1ec-event.php:347 Stack trace: #0 /apps/home/dshtest/public_html/cgi-bin/wordpress/wp-content/plugins/all-in-one-event-calendar/app/helper/class-ai1ec-events-helper.php(63): Ai1ec_Event->__construct(4690, 1) #1 /apps/home/dshtest/public_html/cgi-bin/wordpress/wp-content/plugins/all-in-one-event-calendar/app/controller/class-ai1ec-events-controller.php(482): Ai1ec_Events_Helper::get_event(4690) #2 [internal function]: Ai1ec_Events_Controller->event_content('') #3 /apps/home/dshtest/public_html/cgi-bin/wordpress/wp-includes/plugin.php(166): call_user_func_array(Array, Array) #4 /apps/home/dshtest/public_html/cgi-bin/wordpress/wp-includes/post-template.php(167): apply_filters('the_content', '') #5 /apps/home/dshtest/public_html/cgi-bin/wordpress/wp-content/themes/KU-DSH/single.php in /apps/home/dshtest/public_html/cgi-bin/wordpress/wp-content/plugins/all-in-one-event-calendar/app/model/class-ai1ec-event.php on line 347

    As a temporary solution, I’ve thought about using ModRewrite to remove instance id’s (we don’t use any recurring events… yet). I’m not sure if this works, but I’m thinking the rule would look something like
    RewriteRule ^(.*)\?instance_id=([0-9]+)$ $1 [L]

Viewing 1 replies (of 1 total)