I found an error in the registration form and edited my registration_page_display.php. After I uploaded the file, the registration form disappeared. So, I undid all of my changes and uploaded the file as it was before. The registration form is still not displaying.
This is where the file is located: /wp-content/uploads/espresso/templates
Update to the latest version of Event Espresso and remove the templates from /wp-content/uploads/espresso/templates. After you back up the original templates, then you can try those modifications again.
I’m back. The first code changes I added broke the form again, and I don’t understand why.
The code I’ve added is on on lines 22-69. The form is not displaying. The error messages I get are:
Warning: Missing argument 2 for event_espresso_price_dropdown(), called in /home/wesjan1/straightlineprodev.com/wp-content/uploads/espresso/templates/registration_page_display.php on line 178 and defined in /home/wesjan1/straightlineprodev.com/wp-content/plugins/event-espresso/includes/functions/pricing.php on line 195
and:
Warning: extract() [function.extract]: First argument should be an array in /home/wesjan1/straightlineprodev.com/wp-content/plugins/event-espresso/includes/functions/pricing.php on line 200
I took a look at the registration_page_display.php template and it looks to me that this is either based on an older version of the plugin, or there’s more changes to it than only on lines 22-69.
My advice would be to start with stock templates, and add in your modifications one by one and check for errors along the way. It’s also recommended to have wp-debug turned on so when one of your changes throws a PHP error, you’ll have an idea where in the code it’s being caused by.
The support post ‘Registration Form Disappeared After Modifying the Display File’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.