Posted: March 28, 2019 at 5:58 pm
Hi, We are using EE4. When an event and ticket is selected and the contact selects to go the registration page the CSS is not being applied to the page. Can you let me know what would be causing this, and how to fix it. https://www.useloom.com/share/aa5da087b4804bd8a9733a9247686a21 Thanks, Mike |
|
Hi Mike, I checked the page in question and checked its source and found the start of some custom JavaScript just before the page generation was halted. Here’s the start of that script:
My guess is there’s some custom code PHP that’s used there to generate the output and it’s throwing a fatal error. So the remainder of the page isn’t allowed to load. The first thing to check is the PHP error log, or set up WP_DEBUG to log the error. You could also check any custom code that was added recently. |
|
Hi, How do I find where to edit the script? I’ve looked at the checkout page and it just as the normal event espresso shortcode on it. So the script is being loaded in another way. Where would I find where this is being loaded? Thanks Mike |
|
Hi Mike, The script could have been added anywhere on your site, usually within functions.php or within a plugin used to hold custom functions but the name of which could be anything. If there is a fatal error being thrown on the page the error will usually include the location and line number of where that error is from. So I’d recommend enabling WP_Debug using the code in the link Josh provided (which logs errors to /wp-content/debug.log), throw the error again and then check the log for a location. I’ve just tried looking at this myself but when loading the same single event from your video I see |
|
This reply has been marked as private. | |
Currently your live-courses page wont load for me and shows:
I’m guessing your working on it but noting all the same. Depending on where the table is pulling the link from your could try setting the ‘Alternative registration URL’ to your other URL within the Event and see if the table pulls the link. If it’s the Event Table (can’t confirm because of the above) it should do. |
|
The support post ‘Registration Page CSS Not Being Applied’ 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.