Home>Support>Can’t integrate eventON Calendar with SiteOrigin Page Builder

Can’t integrate eventON Calendar with SiteOrigin Page Builder

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hello,

I’m using the Vantage theme in combination with the page builder for our site. But I ran into a problem while integrating the eventON calendar. As soon as I add the eventON widget all I get is an empty page. According to my debug.log it seems to be a memory issue.

Using the calendar without the page builder is working fine. But even shortcodes are not working with the page builder.

I did a little debugging myself and followed the guide from the eventON guys (http://www.myeventon.com/documentation/check-eventon-working/)

I’m a developer myself and would be willing to assist you. But I’m not familiar with WordPress development so it would be good if you could point my into a direction.

Here are my notes so far:

1.0: Check One – Clear Cache

Browser cache: cleared
Server side cache: not active (no plugin installed)

2.0: Check Two – Javascript Issues

2.1: Javascript issue 1: older version of JQuery
eventOn version: jQuery v1.11.1
current version: jQuery v1.11.1
(jQuery Migrate v1.2.1)

2.2 Javascript issue 2: conflict with other plugins
The problems are only in combination with the SiteOrigin PageBuilder. There are no JS errors visible.

2.3 Javascript issue 3: Missing javascript files from the footer.
As soon as I add the eventON Basic Calendar widget into the PageBuilder I only get an empty page:

		<html>
			<head></head>
			<body></body>
		</html>
	

The calendar works perfectly fine if I do not use the page builder. I’ve checked the footer.php and wp_footer() is called properly.

4.0: Check Four – Code Issue Check

I’ve found the following line in the debug.log

	[14-Apr-2015 07:24:06 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 65552 bytes) in …/wp-includes/formatting.php on line 1427

That would be the following line in the formatting.php:
	// Fix Word pasting
	$content = strtr($content, $wp_htmltranswinuni);

Regards,
Martin.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 3 months ago Magus
    Hi, I Work Here

    Hi Martin

    I would agree that this looks like a memory issue, please try increasing your memory limit. These are the instructions from Event On.

    http://www.myeventon.com/documentation/increasing-wordpress-memory-limit/

    Your current limit seems to be set at about 134MB, I would suggest raising that to 256MB.

    Let us know how you get on

    Magus

  2. 10 years, 3 months ago anima_ev

    Thanks for the fast response.

    I tried increasing the memory but it is not working. It seems like a memory leak. Is there a way to get a call stack?

    [20-Apr-2015 09:00:29 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 65552 bytes) in …/wp-includes/formatting.php on line 1427

    Regards,
    Martin.

  3. 10 years, 3 months ago anima_ev

    I’m not sure if it is the plugins fault because it is working fine without the page builder.

  4. 10 years, 3 months ago Magus
    Hi, I Work Here

    Hi Martin

    You can do this using your browsers developer tools, accessible by pressing “F12″ in Windows or “Cmd” ⌘, “Option” ⌥ and “I” on the Mac, or by right clicking on the page and selecting “Inspect Element”. Then work out your required changes and add them to Appearance->Custom CSS.

    There should be a debugging tab available for you to see the call stack to the page.

    If you cannot find this option, do you have a public URL for this site?

    Magus

  5. 10 years, 3 months ago anima_ev

    The problem is that I get only an empty page, so there is nothing to debug. I’ve created a test page: http://anima-ev.de/test_eventon_with_pagebuilder/

    Is it possible enable an extended logging for wordpress? It would be nice to have the call stack within the debug.log file.

    Thanks a lot for your help so far. I did a search in the forum before I posted my case and there were other people with the same problem but i could not find a solution.

    Best Regards,
    Martin.

  6. 10 years, 3 months ago Magus
    Hi, I Work Here

    Hi Martin

    I have tried to post back but my replies are not showing

    Please try this plugin and turn on debug mode for wordpress

    https://wordpress.org/plugins/storm-debug-development-backtraces/

    Magus

  7. 10 years, 3 months ago anima_ev

    I installed the suggested plugin and activated the debug mode but there are no additional entries in the debug.log file. Did I miss something?

  8. 10 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hey guys, thanks for the effort so far.I thought I’d jump in quickly with a bit of an overview.

    Almost all of the calendar/events plugin we’ve seen deployed don’t seem to work with Page Builder. They work fine on their own alongside Page Builder; issues arise when widgets from these plugins get inserted into Page Builder. From a development standpoint we unfortunately need to take a bit of a longer view on problems like these. At any one time Greg and Braam are working on a tight development schedule, it isn’t usually possible to pull them off that without disrupting ongoing work. The best outcome would be if enough users requested Page Builder compatibility from the plugin developer. We’ve added developer docs for Page Builder, we’ll be growing those as much as possible. Here is our first page on Widget Compatibility:

    https://siteorigin.com/docs/page-builder/widget-compatibility/

    I’ve logged a bug report for eventON.

    To summarise. If you can find a solution for the problem, that would be awesome! If not, we’ve logged the problem on our side. Your next move could be to contact eventON and add your vote so to speak for Page Builder compatibility. Hopefully they’ll be able to attend from their side.

    Let me know if you have any questions. Thanks :)

  9. 9 years, 11 months ago Michael Gamble

    Hey Guys,

    Michael Gamble, Admin from EventON here. Just reading through the threads above and wanted to chime in.

    I am working on a site that came into our forum today and wanted to get involved with the fix or resolution of this case.

    Currently, we are having issue on a user site that uses your pagebuilder and our plugin, EventOn.

    There is no debug log generated nor any script errors in inspector.

    It basically just creates a blank white page, with no content or scripts/styles loaded to the page. Nothing…..

    I have tried using the regular Text widget, the Black Studio VC widget, and even tried the AMR any widget plugin. To no success.

    I am finding that when I throw a blank row into the page, AFTER the EventON widget, that the widget displays empty, but the widget with EventOn shortcode is not present. Also, the scripts are not being loaded either for EventON.

    I am thinking this is possibly a Script Loading issue, something not being loaded correctly via

    <?php wp_footer(); ?>

    how EventOn scripts will be loaded.

    The Stylesheets for EventOn are loaded, which come from the header, so i have to believe this is stemming from the footer and the way SiteOrigin or EventOn are handling loading the scripts.

    I have tried to include our scripts:

    <?php
         global $eventon;
         $eventon->frontend->load_default_evo_scripts();
    ?>

    to load into the page footer.php but the users them we are looking at has (3) footer.php files, so it’s hard to tell which one is being used… and when.

    The pages load normally using the default WYSIWYG editor without pagebuilder.

    Looking into further solutions…… Any input can help at this point.

    Regards,
    Michael

  10. 9 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Great to have you looking at this :) We’re taking a look now. One moment.

  11. 9 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    If you have moment, could you take a quick run through:

    https://siteorigin.com/docs/page-builder/widget-compatibility/

    That’ll hopefully get your scripts properly enqueued for Page Builder.

  12. 9 years, 11 months ago Michael Gamble

    Thanks Andrew, looking at this now!

  13. 9 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Appreciate it :)

  14. 9 years, 10 months ago Michael Gamble

    Andrew, We are trying to get access to either a theme, or even just the use of Siteorigin’ Pagebuilder but without success from our forum users.

    Is there any way to get a demo copy so we can install it, then get into the functions of the theme and work a solution for this issue we seem to be having with EventON and the Pagebuilder?

    We are mainly looking to get into FTP to make these adjustments, rather than the WordPress editor.

    If you need to email me, my email is [email protected]

    Thanks, Michael

  15. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hey Michael :)

    Sure, Page Builder is free, you can find it here:

    https://wordpress.org/plugins/siteorigin-panels/

    We’re also on GitHub: https://github.com/siteorigin/siteorigin-panels

  16. 9 years, 10 months ago Michael Gamble

    Oh, wow, i did not know that!

    Thanks Andrew!

  17. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    For sure :) Let me know if there is anything we can assist with.

  18. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Our developer docs are here: https://siteorigin.com/docs/page-builder/. Not necessarily related but you never know.
    Widgets: https://siteorigin.com/docs/page-builder/widget-compatibility/

  19. 9 years, 10 months ago ashanjay

    Hey Andrew, this is Ashan developer behind eventON. So I tracked back as far into the wp_query for all events in eventON and thats where it breaks. It seems something is running in a loop hence the memory limit exhaust message.

    can you tell me how you are showing the content of the shortcode added into the pagebuilder boxes? is it not simple do_shortcode() with shortcode entered going inside ?

    • 9 years, 10 months ago Greg Priday
      Hi, I Work Here

      Hi ashanjay

      That’s correct, the content is run through do_shortcode. Well, this is the case if they’re using either our SiteOrigin Editor widget or the Black Studio TinyMCE widget.

      Can you tell where this infinite loop is occurring?

  20. 9 years, 10 months ago ashanjay

    I dont exactly know. it seems if I comment out wp_query for all events, rest load for page but no eventon. And something is running on a loop it seems is why memory issue.

  21. 9 years, 10 months ago Greg Priday
    Hi, I Work Here

    So one guess here is that Page Builder is trying to process the results of wp_query. This shouldn’t really be the case because Page Builder hooks to the_content filter as its way of generating content. Only pages that have panels_data post meta are processed.

    Is there anything eventON might be doing to trigger the_content filter on a wp_query?

  22. 9 years, 10 months ago ashanjay

    yes things like event details, custom meta data fields for events do run through content_filter. What does PB add to this filter?

  23. 9 years, 10 months ago ashanjay

    OMG would u believe it, eventon have an option to disable content filter in eventon settings and when you do that everything works great.
    So this content filter runs mainly to format the event details content into proper HTML so is there anything we can do here so eventON with content filter still works with PB?

  24. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Thanks progress for sure :) I’ll ask Greg to jump back in here as soon as he has a moment. Appreciate all the effort so far.

  25. 9 years, 10 months ago Greg Priday
    Hi, I Work Here

    Hi ashanjay

    Without seeing your code, I can’t exactly tell you what’s going on, but here are a few things you could check.

    * Inside your the_content filter, are you fetching any post content that might be running though the_content filter again, creating an infinite loop.
    * Is this issue specific to Page Builder? For example, if you create a dummy plugin with a single the_content filter, do you get a similar issue.

    I’ll have a look at Page Builder from my side to check if there’s anything that might be causing this.

  26. 9 years, 10 months ago ashanjay

    Ok so this is what we are doing for the event details section as well for custom meta data
    http://snag.gy/B0YrY.jpg
    we simply run apply_filters(‘the_content’ to format the event details text.
    And this issue is only related to page builder.

  27. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Thanks ashanjay. Greg is away for a few days. I’ll ask him to follow-up with you when he gets back.

  28. 9 years, 10 months ago anima_ev

    I just want let you know that I’m happy that you guys are working on this problem :-) … thumbs up!

  29. 9 years, 10 months ago ashanjay

    Actually in the next version of eventon we are going to use a custom post content filter which will not use all the filters for “the_content” including the ones you guys add

    • 9 years, 10 months ago Andrew Misplon
      Hi, I Work Here

      Super, that’s a great result. Thanks for the update, much appreciated :)

  30. 9 years, 9 months ago MJR113

    Hi ashanjay, any progress on this? Really looking forward to being able to use EventOn with the Page Builder.

  31. 9 years, 9 months ago Michael Gamble

    This issue has been resolved if you download the latest version of EventOn from your account at Code Canyon. Please make sure to update the plugin via your FTP and overwrite all files as it has had some extensive work done to it for the newest release.

    If you experience any issues with it further, please visit us at the forum http://support.ashanjay.com

    Regards

  32. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Thanks Michael!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More