We are in the process of finally launching our website. It is currently in maintenance mode because I've hit some snags after migrating the site from the development subdomain to the root domain. The situation causing me to submit this ticket looks like it has something to do with one of the post forms on our Ride template page.
You'll have to log in as an admin user to see the problem. Otherwise you'll only see the Maintenance page.
But after you log in, you'll want to go to this page:
hidden link
and to this page:
hidden link
This is the same ride and everything *should* still be set up the same way.
But for reasons unknown, we're getting the following errors on the production version of the site:
Warning: Creating default object from empty value in /home/customer/www/floridafreewheelers.com/public_html/wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/models/Forms.php on line 187
Warning: Creating default object from empty value in /home/customer/www/floridafreewheelers.com/public_html/wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/models/Forms.php on line 187
We have two post forms on the Ride template. If you scroll down to the bottom when logged in as an admin user, you should see links saying "Click here to Register for this Ride" and "Click here to Register for this Ride" Click both those links to expand the forms.
One thing I'm noticing that is different on the production version is there is a section above the Submit button on the Ride Notification form for Ride Notifications with a dropdown that says not set. This piece in the form is wrapped by the following
<div class="hidden-div">
</div>
On the development version of the same form, this section doesn't display. But on the production version, it does display. I didn't make any CSS changes, so I'm not sure what's causing the difference there.
Note that the form functionality does seem to be still working fine on the production site. I just tested that and my tests worked. So that's good.
So my questions here are:
1) How do we prevent the system from throwing those Warning messages?
and
2) How do we hide that section that shouldn't be displaying in the Notification form? Should I just add .hidden-div {display: none;} to the site CSS? We don't have that to my knowledge on the development site, but the section isn't displaying there. So I'd like to understand why that changed on the production site.
Thanks for your assistance here. This should be our final ticket before site launch. We could not have done this without your incredible support.