Giter VIP home page Giter VIP logo

Comments (12)

liedekef avatar liedekef commented on September 16, 2024 1

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.

liedekef avatar liedekef commented on September 16, 2024 1

Btw, I use a plugin called "Code Snippets", maybe that works better ... You can add filters and shortcodes with that.

from events-made-easy.

liedekef avatar liedekef commented on September 16, 2024 1

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.

liedekef avatar liedekef commented on September 16, 2024 1

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.

liedekef avatar liedekef commented on September 16, 2024

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.

TimB111 avatar TimB111 commented on September 16, 2024

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.

liedekef avatar liedekef commented on September 16, 2024

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.

TimB111 avatar TimB111 commented on September 16, 2024

Thanks, I've emailed the shortcodes to you.

from events-made-easy.

liedekef avatar liedekef commented on September 16, 2024

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.

TimB111 avatar TimB111 commented on September 16, 2024

Ok I'll speak with the developer of that plugin, thanks

from events-made-easy.

TimB111 avatar TimB111 commented on September 16, 2024

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.

TimB111 avatar TimB111 commented on September 16, 2024

That's great, thank you!

from events-made-easy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.