Posted: April 3, 2018 at 9:53 am
|
Hi there, I’m having issues getting the registration page to display any content from the shortcode. At first it would display only a blank page. I read a few other threads and tried a few things: I finally activated wp_debug and it breaks the entire website, including WP dashboard area, and it displays an error:
Am I missing something to get the plugin activated? This is the registration page, which comes following the event: Thanks for any help. |
Hi there, How did you upload EE onto that site? Through the plugins manager? First, try de-activating and deleting EE and then re-upload through Dashboard -> Plugins -> Add new -> Upload plugin. Do you know which PHP version is running on the server? |
|
|
Ok, that made the error above disappear, but I still only get a blank registration page. Here is a test event that I’m testing the registration for: |
|
PHP 7 |
Hi there, The “Registration Page can not be accessed directly” message is actually expected. There’s a few moving parts to the issue you’re seeing, and one of them is the inclusion of the jQuery library from Google’s CDN. Ideally the included jQuery library should be bundled version that’s included with WordPress. It may be another plugin or the WP theme that’s switching the library. Can you try temporarily switching to a default WP theme and temporarily deactivate all other plugins to help narrow down which one is loading the other library? |
|
|
Hi Josh, Yes, weère using Foundationpress and it seems to be the only thing, all other plugins are activated and all forms and notices work normally. Is there a way around this on the EE side? The project is in its final stages, I canèt afford to change themes at this point. Jquery tries to use ()unload is the error that I see now. I’m also using WP-Client and it seems to have integrated fine for the sign-up form/registration form for both plugins. Thank you very much for the help |
FoundationPress can actually use the bundled versions of jQuery. One way to make that happen is you add this function to the top of the theme’s functions.php:
Or if you prefer, the above code can be added into a site-specific plugin. |
|
|
Thanks Josh for your help. The code you provided didn’t work per se, but it lead me to finding the Google CDN call to jquery and remove it. That being said, the registration form was still showing a blank page, no errors show up in the console for jquery, and no errors for wp_debug either. Any reason why that tag is there and why does it have a -999em left margin? |
|
Sorry, I didn’t know how html tags worked in regular comments. In my previous comment I meant I found an anchor tag: |
You cannot just remove the CDN copy of jQuery because the theme deregisters the bundled version of jQuery provided by WordPress core. It looks like there’s an issue with the how the .main-content div is set to display: flex: |
|
|
Oh, my bad, I should have been clearer. I did also remove the function that deregisters jquery, so the bundled version of jquery was in place. But again, once I noticed the CSS of the anchor tag, the jquery was irrelevant (for what I’ve tested so far*). I’m going to try tweaking the CSS. There isn’t really any problem with the flex of the main-content, considering the whole website is rendered that way, but I do see how it can mess up the elements inside. I’ll call this a close for now, since my original problem was a blank page and now I know why, and if something else comes up I’ll come back. Thanks a lot for your help Josh, appreciated! |
The support post ‘Registration Checkout blank page, Activating plugin breaks website’ 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.