• Resolved rosie_pb

    (@rosie_pb)


    Hi

    I’ve previously had some trouble with Location Attributes and the deprecated attributes populating instead of the new attributes with similar names (see https://www.ads-software.com/support/topic/deprecated-attributes-not-deleting). I’m now having problems with the text saving in these location attributes form fields.

    I activated Custom Fields in the EM settings and ever since, the text is not saving in the Location attributes form fields.

    I try typing in the Location Attributes text fields (from both the WP backend or the front end user form), hit the ‘Update’ button and the information updates on the WordPress page, but unfortunately the text then disappears from the Location Attributes fields (in the WP backend and front end user form).

    I tried turning off Custom Fields in the EM settings and then turned it back on. The Location Attributes text I had written, appeared in the Custom Fields with the same name, but when I hit ‘Update’ again, the information was lost in all the form fields and on the WordPress page as well so all was left blank.

    Please help me understand why this might be happening. Do Custom Fields and Attributes work together or is this not an option? Should I delete the Location Attributes from the database and start again so that the text in the fields saves correctly?

    Thanks

    https://www.ads-software.com/plugins/events-manager/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter rosie_pb

    (@rosie_pb)

    It may be worth mentioning that my website’s server users Varnish. I don’t know if this is a EM plugin issue or whether it could be to do with a Varnish confliction?

    I have been looking into conflicts with WordPress cookies and Varnish but don’t know enough about it. Has anyone had this issues with this plugin and Varnish before?

    Hi,

    Pretty sure this has nothing to do with Varnish. Do you have any other plugins related to custom fields running?

    Thread Starter rosie_pb

    (@rosie_pb)

    Thanks for replying.

    I have just deactivated all the other plugins and then re-tested the location attribute form fields. It updated the web page but didn’t save the information in the WordPress backend location page.

    I need to change the form field labels so perhaps I will try deleting the current ones from the database and see if the new set of location attributes will save the information in the backend when using them from scratch.

    OK, let us know if you need more help.

    Thread Starter rosie_pb

    (@rosie_pb)

    OK bad news. I tried deleting the current Location attributes from the database and also deleted them from the EM general settings but the form fields still appear in the WP backend for the Location pages.

    I tried adding in new Location attributes into the General settings and these form fields now appear above the old attributes in the Location pages WP backend. Worse still, the form fields still do not save after I hit the update button.

    As with this forum thread, I think I may be experiencing some kind of glitch with the EM plugin after changing the general settings and turning on the custom fields.

    Is there anyway if you can see if this would be true? It’s proving a little frustrating as I need this to work for a deadline.

    Would it be worth joining the Pro support to help work out why this might be occuring?

    Thanks for your help, I really appreciate it!

    Thread Starter rosie_pb

    (@rosie_pb)

    Some good news.

    I’ve been doing some tests and I realised the dropdown menus were saving but the text fields weren’t. I remembered that I had customised a template (after reading this thread) to show textareas instead of text fields. I just removed this custom template file from my theme and tested the text fields and they are now saving the information.

    The old Location attribute form fields are still showing on the form however.

    Thread Starter rosie_pb

    (@rosie_pb)

    I have tried deleting all the old Location attributes in the postmeta database table in phpMyAdmin, which worked last time I had duplicates, but this no longer seems to delete the old forms fields.

    In the em_events table I can see a column called event_attributes however in em_location there is no column for location_attributes. Would that be normal?

    Thread Starter rosie_pb

    (@rosie_pb)

    Apologies I’ve worked out why the form fields were still showing. The location attributes were placed in the settings page for the Events format. So the good news is the old fields are now not showing in the WP backend Location page.

    Thanks for all your help and advice.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Location attributes fields not saving’ is closed to new replies.