saotome
Forum Replies Created
-
Well, I am expecting a fruit basket from the EM devs now 🤣
For real… it’s great that we know. But an actual solution would be awesome. Anyone?Oh… two more observations in case somebody wants to help:
1. The only plug-in both EncodeDotHost and I are using is Redis Object Cache.
2. The problem started with the last (or at least one of the last) updates. It didn’t exist before.Well, OUR mistake. I misread your first post.
Yes, I am facing the same issue. It happens most of the time when I update an event. But not all the time. I haven’t figured out what triggers it though. I’d say it happens about 80-90% of the time when I update. I hope a dev will finally read this and look into it. Or maybe a user who knows more than me?
I mean, it doesn’t really break the plug-in (especially now that I know about it… before I did I “hid” several events without realizing). But it definitely is annoying!This feels like a bit of miscommunication. Your first post sounded somewhat like you were asking other people for help with additional info so you could fix the plug-in. But now I think I understand that you are a user just like myself. And we both need help from the plug-in developers, right?
I checked the Console and Network tab but couldn’t find anything suspicious. But I am just an average user so this doesn’t mean much. I can provide info if the EM people tell me what to look for. Unfortunately I can’t solve the problem….
I hope this doesn’t add to the confusion! 🤣
Is there nobody else who has that problem? Can somebody from the EM team help with this?What information do you need? I am using the plug-in with Ocean WP theme, WPRocket and a number of other plug-ins. I can provide logs if you tell me which. I can test things but need instructions. Just let me know – I am here to help you help us 🙂
Thanks!
Thanks for the quick update! I can confirm that it solves the problem here for me.
And I informed the AI that it was only half-correct… 😉
Hi all,
Thanks to non-human intelligence (and a bit of my broken brain) I can give the necessary input:
The plugin outputs an HTML snippet before WordPress sends its
<!DOCTYPE html>declaration. Specifically, a div like:<div class="em-admin-notice notice notice-info is-dismissible" id="notice-promo-popup" …> <!DOCTYPE html>This invalid early output triggers Quirks Mode in browsers (confirmed via DevTools warning:
“This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use <!DOCTYPE html>.”)
As a result,
load-styles.phpandload-scripts.phpbreak, and most admin CSS/JS stops loading.
The issue affects all admin pages that display Events Manager notices — especially Plugins and Updates.Tested on:
- WordPress 6.x (clean install, only EM active)
- PHP 8.x
- Browsers: Floorp, Brave, Firefox — identical behavior
Expected:
No output before<!DOCTYPE html>— WordPress core functions should handle admin notices.Actual:
Thepromo-popupnotice prints before the DOCTYPE, invalidating the HTML document.Please remove any direct
echoor output outside proper hooks (admin_notices/admin_footer) so the admin remains in Standards Mode.Thanks so much!
I wanted to update this thread in case it’s useful to others (or my future self!).
My problem:
- My site uses Events Manager and event tags to list artists who have played in my concert series.
- The tag archive pages (e.g.
/events/tags/artist-name/) were only showing future events. Past events weren’t displayed, even though they’re tagged correctly. - I wanted those tag pages to act as an archive, listing all events, not just upcoming ones.
What didn’t work:
- The helpful suggestion from @joneiseman does indeed change the global default scope to “all,” but it affects all event listings everywhere — which I didn’t want.
- Trying filters like
em_object_get_default_searchorem_events_build_sql_conditionsdidn’t work either because those filters don’t fire for tag archive pages in this context. - Adding
?scope=allto the tag archive URLs also didn’t change anything. - The solution that worked:
- I created a custom WordPress template file:
/wp-content/themes/my-child-theme/taxonomy-event-tags.php- Inside that file, I added:
<?php
/**
* Template for Event Tag Archives
* Shows all events (past + future) for the current tag
*/
get_header(); ?>
<div id="content-wrap" class="container clr">
<main id="primary" class="site-main clr">
<?php
$term = get_queried_object();
if ( $term && ! is_wp_error( $term ) ) :
$tag_slug = $term->slug;
echo '<h1 class="archive-title" style="margin-top: 20px; margin-bottom: 20px;">Events tagged: ' . esc_html( $term->name ) . '</h1>';
echo '<div class="events-list">';
echo do_shortcode('[events_list scope="all" tag="' . esc_attr( $tag_slug ) . '"]');
echo '</div>';
else :
echo '<p>No tag found.</p>';
endif;
?>
</main>
</div>
<?php get_footer(); ?>- This uses the
[events_list]shortcode withscope="all"and dynamically inserts the current tag slug, so all past and future events appear for any tag.
Thanks:
Big thanks to @joneiseman for helping me understand the scope settings better. Even though the global filter didn’t end up being the right tool here, it helped me figure out what wasn’t working and why.
- This reply was modified 11 months ago by saotome.
I set all this up a very, very long time ago, so I didn’t even remember. Thanks for prompting the question!
I’m using this plugin:
Tag Dropdown Widget – WordPress pluginWhat I’m trying to achieve:
- A list of all musicians who played at my concert series (these are stored as event tags).
- When someone clicks a musician’s name, it should link to a list of all events associated with that tag — including both past and future events.
I’m open to:
- New solutions that don’t rely on this plugin.
- Workarounds or custom code.
Honestly, it might even be better to switch to a different approach if there’s something more stable or modern.
Thank you for any guidance!
I just checked again — and now the Events page is displaying correctly, without any changes on my side.
It’s not clear what caused the issue in the first place or why it resolved itself (caching, external dependencies, timing?), but I wanted to share this update in case it helps others.
I’ll keep monitoring the situation and will report back if the problem returns.https://ww.wp.xz.cn/support/topic/6-6-4-1-events-list-adds-new-divs/ is the solution for all my problems it seems. I just misunderstood it at first….
If you’re like me this might help you…
events-list.php is in /wp-content/plugins/events-manager/templates/templates
One can simply copy the code from the link above and replace the content of events-list.php. That worked for me. Don’t forget to do it in your child theme or it won’t survive the next update I guess…
If you’re a beginner like me and have trouble understanding how to add it to your child theme, this is what worked for me: the updated events-list.php file goes to /plugins/events-manager/templates in your child theme folder.
Thanks to the people in the linked topic!
- This reply was modified 1 year, 3 months ago by saotome.
Could anybody please please at least attempt to help me?
In order to make things a bit clearer I have now cloned my website. There now is a 6.6.3 version and a broken 6.6.4 version.
For example:
This is how this page should look like. But with 6.6.4 it looks like this hot mess.
Then there is this video docu which is broken in 6.6.4 in this way: not a single video showing anymore
This might help as well… The landing page has that link at the bottom which works here but is broken here (because of </div>s in the link that aren’t there in the 6.6.3 version.
Please dear people help!
Thank you!
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Pagination broken?Ok, thanks for letting us know!
It’s working now!
Thank you again!
- This reply was modified 2 years, 2 months ago by saotome.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Pagination broken?OH! Thank you for the SUPER quick answer!
So the order is important, I see. I had “order=”desc”” but had put it at the end of that line.. which didn’t work.
Thank you so much!
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Pagination broken?I finally had time to look into this again and found out that for whatever reason one of the brackets in the shortcode had transformed into its html number. Since I did nothing but copy-pasting it I never checked the code itself…
Now everything works. Thank you again!
In case joneiseman or someone with the knowledge sees this… How can I change the order of the events? I want the most recent event first… (and i am talking about changing it when using joneiseman’s shortcode!)
Thank you!
- This reply was modified 2 years, 2 months ago by saotome.