Home>Support>Conflict with Site Origin’s builder and The Events Calendar + Yoast Seo

Conflict with Site Origin’s builder and The Events Calendar + Yoast Seo

By psyorigin, 8 months ago. Last reply by Alex S, 8 months ago.

Hi everyone,

I’m having an issue saving the home page directly from the Custom Home page with the theme builder.

Apparently the builder is conflicting with The Events Calendar and Yoast SEO, when they’re both running.
Everything was working smoothly before starting using Yoast SEO. Then every time I save my home page through the Custom Home Page, the fatal error occurs. It doesn’t occur when editing the homepage normally though, only through the Custom builder.

In this case WordPress caught an error with The Events Calendar at ~/themes.php?page=so_panels_home_page

This is what shows up in the Error Details.

Any idea how to fix this?

–> https://pastebin.com/nYdk02yW

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

  1. 8 months, 20 days ago Andrew Misplon
    Hi, I Work Here

    Hi, thanks for getting in touch.

    Unfortunately, Tribe will need to take a look and try to assist from their end. You can report the issue to Tribe as follows:

    An Events Widget inserted into SiteOrigin Page Builder is producing the following error, preventing the page from being saved:

    An error of type E_ERROR was caused in line 1060 of the file /wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/View.php. Error message: Uncaught TypeError: Unsupported operand types: string – int in /home/customer/www/psyorigin.com/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/View.php:1060.

    If you suspect the AppearanceHome Page shortcut might be involved you can create a test page and insert an Events Widget to test. If your default editor is the Block Editor you insert a SiteOrigin Layout Block. Alternatively, if you aren’t using the Classic Editor plugin you can go to PagesAll Pages and click the small drop down arrow next to Add New Page to add a Page Builder Page. The latter would be a better test against the AppearanceHome Page functionality.

    If Events Calendar offer a shortcode, you can also try a shortcode in a Custom HTML or Editor Widget in Page Builder to see if the result is any different.

  2. 8 months, 20 days ago psyorigin

    Hi Andrew, thanks for the reply.

    I already reported the issue to The Events Calendar, let’s see if they can help.

    I tried what you suggested, and it works without issues. Apparently the problem is really with the home page builder. I tried removing the widget on the homepage, and tested it with a shortcode too, but the error still occurs.

    It simply won’t let me save the homepage using the Page Builder, only with the Classic Editor.

  3. 8 months, 20 days ago Andrew Misplon
    Hi, I Work Here

    Hi, thanks for the updates.

    The error is originating from within Events Calendar. Unfortunately,
    without access to the code base, we can’t attend to the error. We can only attend to errors originating in our own code base. That’s not to say we aren’t here to help, just that we can’t directly edit the code that’s involved in the error.

    Thanks for the testing info. I’m not sure if you’ve tested the issue in a normal Page Builder page, away from the Appearance > Home Page shortcut.
    That test can be done in your test page via the Page Builder page or you can go to Pages > locate your home page in the pages list and edit it there directly to see if the issue persists.

  4. 8 months, 20 days ago psyorigin

    Yes, I see. Hopefully they’ll be able to fix the issue.

    Fortunately, when editing from the pages list or using a normal page builder away from the Custom Home Page, the issue doesn’t occur.

    Either way, it would be nice to fix the code.

    Thank you so much for your help, Andrew.

  5. 8 months, 20 days ago Andrew Misplon
    Hi, I Work Here

    If the error persists via Page Builder on your test page or via Pages >
    edit your home page in Page Builder not via the shortcut, then it would best to leave Unwind out of your bug report as it’s not linked. This could also be confirmed by temporarily switching to a default theme like Twenty
    Nineteen and then recreating the PHP error log item with Page Builder on your test page.

  6. 8 months, 20 days ago Andrew Misplon
    Hi, I Work Here

    We’ll find a way forward for sure!

    That’s great testing feedback; thanks.

    I’ve asked Alex here at SiteOrigin to take a look when he’s next working.
    If we can submit a pull request to Events Calendar we’ll do so.

  7. 8 months, 20 days ago psyorigin

    Absolutely. I tried on a staging page to run a different theme, etc, the issue doesn’t happen.

    The interesting side is that it’s only happening when the Yoast SEO is active though.
    I was using the Home Page builder initially without problems, then after installing the Yoast SEO, this issue started conflicting with the Home Page Builder and The Events Calendar.

    I’ve submitted a report to the Yoast SEO forum as well.

    Thank you so much for the feedback.

  8. 8 months, 20 days ago Alex S
    Hi, I Work Here

    Hi,

    I’ve run some tests and tried to replicate this issue while Unwind, Yoast, and The Events Calendar are active. I unfoutantly wasn’t able to. I’ve added all relevant widgets and configured some test data but I can save it without issue.

    Can you please provide me with a copy of your home page layout? This should hopefully allow for the error to trigger. You can export a page by opening it in the editor and clicking the Layouts button in the Page Builder toolbar. Click Import/Export, and click Download Layout. This will download a JSON file. Please upload that file to Pastebin.

    Kind regards,
    Alex

  9. 8 months, 20 days ago psyorigin

    Hi Alex,

    Thank you for your support.

    Here is the link: https://pastebin.com/F45MjrCM

  10. 8 months, 19 days ago Andrew Misplon
    Hi, I Work Here

    Hi, thanks for the layout. When I insert the page layout, the Events List widget is unavailable. I can however insert a new Events List Widget. I’m not sure of the reason for this. Is there any change if you re-insert the Events List Widget? The screenshot below shows the missing widget on my end and then the widget I inserted:

    https://siteorigin.com/wp-content/uploads/2024/10/Screenshot-2024-10-27-at-19.53.27.png

  11. 8 months, 19 days ago psyorigin

    Hi Andrew, thank you for this. I tried it already, the issue still remains. Unfortunately I have no clue why this is happening.

  12. 8 months, 18 days ago psyorigin

    The trouble is happening when editing the Home Page from here: https://psyorigin.com/wp-admin/themes.php?page=so_panels_home_page

    https://ibb.co/51TsjmS
    https://ibb.co/V9QFfzj
    https://ibb.co/LQgZ2gv

    If I deactivate the Yoast SEO, then it works normal with The Events Calendar.
    Not sure why the they’re conflicting.

  13. 8 months, 18 days ago Andrew Misplon
    Hi, I Work Here

    Hi, thanks, understood. Unfortunately, we haven’t been able to replicate the issue yet. To confirm, your home page is editable if you access your home page via the Pages link?

  14. 8 months, 18 days ago psyorigin

    Yes, correct. Thanks!

  15. 8 months, 18 days ago Alex S
    Hi, I Work Here

    Hi Psyorigin,

    We think we’ve identified a potential fix for this issue, and I’ve prepared a patch version of their plugin to try. I don’t recommend using this patch beyond initial testing.

    Before proceeding, do a backup.

    Navigate to PluginsInstalled Plugins, and deactivate The Events Calendar, and then delete it. Scroll to the top of the page, and click Add New, Upload Plugin. Upload the-events-calendar.6.7.1-modified.zip, and when prompted, activate it. This should resolve this issue, or at least generate a new error.

    Kind regards,
    Alex

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