Support

Home Forums Event Espresso Premium Website Pages with EE Short Code Not Loading

Website Pages with EE Short Code Not Loading

Posted: March 1, 2024 at 12:09 pm


mkreik

March 1, 2024 at 12:09 pm

We have several website pages/subpages with EE short codes and when they load only the website header is displayed. All other content is not displaying. Was there a change to the EE short codes? Do you have a solution for this issue?


mkreik

March 1, 2024 at 12:11 pm

This reply has been marked as private.


mkreik

March 1, 2024 at 2:42 pm

This reply has been marked as private.


mkreik

March 1, 2024 at 3:04 pm

This reply has been marked as private.


mkreik

March 3, 2024 at 12:28 pm

This reply has been marked as private.


mkreik

March 3, 2024 at 12:51 pm

This reply has been marked as private.


Tony

  • Support Staff

March 4, 2024 at 5:55 am

Hi there,

Was there a change to the EE short codes?

Between which versions? I assume you have recently updated?

As far as I am aware we haven’t made any changes to how the shortcodes load in any recent versions but it depends which version you updated from. If you let me know I’ll double check for changes between those version numbers.

I activated the regular Avada them instead of the Avada child theme and the those pages load but they do so really slowly and the formatting looks bad.

There should be no difference between loading the page with a parent and child theme, unless the child theme is doing something really odd/non-standard.

The custom code within functions.php is fine and wont cause issues.

The custom code within espresso-grid-template.template.php looks ok, I haven’t loaded the template itself on a site but if it worked previously it should do so now.

We have the child theme configurator plugin in and I ran their analyze tool. I received this error message:

That usually means something else threw an error, warning, notice, something that was output to th browser before EE tried to start a session. You can’t start a session once anything has been output to the browser, so although EE is showing the error there, EE is just trying to start a session but something else output something to the browser first.

Any other errors around the same time?

The ‘fix’ is to not display errors directly on the page itself but load them in the background… that way nothing is actually output to the browser.

I looked at Tools> Browser Tools> Page Source (CTRL U) and the offerings page does not have the EE grid template plugin style on line 65 the way the sub-pages do.

Hmm, so when that happens its usually because EE can’t detect the shortcode usage within the content.

Have you recently edited those pages using avada’s page builder?

I would like to better understand why not, but also we need help to find out why the child theme php no longer allows pages to display correctly since the pages do not load after the header for those pages if the child theme is active.

I assume no errors are thrown when loading the page?

Is the above code everything that is in the child theme?


mkreik

March 4, 2024 at 6:44 am

This reply has been marked as private.


Tony

  • Support Staff

March 4, 2024 at 6:59 am

I had not made any changes last week.

There must have been some updates run between when this worked and now, right?

The only EE plugin that I didn’t update yesterday…

I’m ask about the version you updated from between when this worked and when it didn’t, yesterday this was already an issue so I need to know which version was running when this worked so I can compare.

Support tokens are available here:

https://eventespresso.com/product/premium-support-token/

However, note that this sounds like a plugin conflict so I can’t guarantee a fix currently.


mkreik

March 4, 2024 at 7:24 am

This reply has been marked as private.


mkreik

March 4, 2024 at 7:25 am

This reply has been marked as private.


mkreik

March 4, 2024 at 7:26 am

This reply has been marked as private.


Tony

  • Support Staff

March 4, 2024 at 8:47 am

I will send you the complete functions php and grid php that are in the child theme.

The code above is fine, but is that all of the files within the child theme? (The issue may not be related to an EE file at all, it could be another template from within the child theme)

I just looked at cron schedules…

No, that should be fine.

I’m probably going to need to add some code to the site to troubleshoot this and find out why EE can’t detect the shortcode usage. The template files themselves don’t enqueue the assets (JS and CSS) so regardless of changes made within those the styles loading shouldn’t be affected.


mkreik

March 4, 2024 at 11:14 am

Those are the only php files in the child theme.


mkreik

March 4, 2024 at 11:18 am

This reply has been marked as private.


mkreik

March 5, 2024 at 1:07 pm

This reply has been marked as private.

The support post ‘Website Pages with EE Short Code Not Loading’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso