Viewing my events page works well. I created an extra page with shortcode to view the list: http://www.healingtao.info/workshops_healingtao/. As soon as I try to see a single event i get this: healingtao.info/public_html/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php on line 278
I tried to remove the plugin and installed it again. Data is still there but the error stays.
In the Event Espresso dashboard I get the message: A potential issue has been detected with one or more of your Event Espresso pages. Go to Event Espresso Critical Pages Settings to view your Event Espresso pages.
Page Status en Shortcode status are both for all pages OK! What am I doing wrong.
I changed the slug events with succes into workshops with the code in functions.php
:
add_filter( ‘FHEE__EE_Register_CPTs__register_CPT__rewrite’, ‘my_custom_event_slug’, 10, 2 );
function my_custom_event_slug( $slug, $post_type ) {
if ( $post_type == ‘espresso_events’ ) {
$custom_slug = array( ‘slug’ => ‘workshops’ );
return $custom_slug;
}
return $slug;
}
It sounds like you have made modifications to the plugin. I would advise you to revert to the default files and perhaps do some tests on a development server.
The error in question is stating it is looking for an object, but not finding one.
Since changing the Slug have you flushed the permalinks?
Go to Settings -> Permalinks. Make no changes and save the settings. Then re-load the workshop page.
I’m not sure if that’s the cause. But best start from the beginning as I don’t see this issue on my test sites.
Viewing 2 reply threads
The support post ‘Single event viewing doesn't work’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.