Comments (12)
it has something to do with the call to do_shortcode on that text. It seems it can cause a loop (and the loop actually happens in do_shortcode, not in EME), but I don't know why ... it doesn't cause a loop when in the event body nor when I create 2 shortcodes (via functions.php in the theme) and use those in the title.
from events-made-easy.
Btw, I use a plugin called "Code Snippets", maybe that works better ... You can add filters and shortcodes with that.
from events-made-easy.
I found something for Shortcoder, see my comment https://wordpress.org/support/topic/page-timing-out-when-2-shortcodes-are-used/#post-17295470
from events-made-easy.
I've implemented a workaround for shortcoder (and other plugins that might behave like this). The current dev-version should work fine.
from events-made-easy.
The syntax error is not corresponding with the code, so that can't be related to version 2.4.20
The rest: can you provide the template causing issues? I tried with #_EVENTNAME in a template and that works fine for a basic event test
from events-made-easy.
Apologies, I updated EME last night when troubleshooting the error so the version was probably incorrect.
With the latest version I still get a "Service Unavailable" error if using a single event format template in the Single Event Title dropdown. I've narrowed it down to having 2 custom shortcodes in the single event format template.
Contact us by [sc name="whatsapp-icon"][/sc] or [sc name="email-icon"][/sc].
These shortcodes are created using the plugin Shortcoder and I've defined them to insert an icon and link. Strange thing is it works fine if the single event format template contains one shortcode or the other, but fails when both are there. And it works when the template is used in the Single Event dropdown but the page fails to load when used in the Single Event Title dropdown.
from events-made-easy.
The way you describe it, the "Service Unavailable" seems to point to an infinite recursion taking place.
I've installed the plugin, but don't know your definition. Feel free to go to Tools -> Export and export the shortcoder-stuff and send it to me via mail
from events-made-easy.
Thanks, I've emailed the shortcodes to you.
from events-made-easy.
Seems to be a bug in the shortcoder plugin. If I create the 2 shortcodes manually in functions.php , it works fine ...
So you should talk to the plugin owner of that plugin.
from events-made-easy.
Ok I'll speak with the developer of that plugin, thanks
from events-made-easy.
Thank you, I've asked the developer of the Shortcoder plugin about this.
And thanks for the tip, I'll give Code Snippets a try.
from events-made-easy.
That's great, thank you!
from events-made-easy.
Related Issues (20)
- scope problem HOT 1
- Publish date is always publish date, not event date in RSS HOT 3
- Warning: Undefined variable $res in /wp-content/plugins/events-made-easy/eme-rsvp.php on line 3191 HOT 1
- "Booking Pending Email" for Contact Person not being sent HOT 1
- Bug with PHP 8.2 HOT 7
- Generic email not sending HOT 2
- Missing shortcode [eme_edit_member_form] HOT 7
- text or name search in filterform HOT 4
- Offline Payment Option not showing HOT 2
- WP Data not retrieved in the eme_add_member_form HOT 3
- Placeholder issue #_FIRSTNAME HOT 9
- wpdb::prepare was called incorrectly HOT 11
- compicated recurring event has issues HOT 2
- Permission Error HOT 4
- Weekly stopped working HOT 1
- The payment link to Stripe no longer works HOT 1
- Custom Attributes: display all by default HOT 1
- Plugin could not be activated because it triggered a fatal error HOT 10
- Fatal error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from events-made-easy.