Home › Forums › Newsletter Plugin Support › How to delete a custom field
- This topic has 7 replies, 3 voices, and was last updated 1 year, 2 months ago by
Stefano.
-
AuthorPosts
-
August 5, 2024 at 9:39 am #330304
Nessi
ParticipantHi!
I created two custom fields, but as I could not get the Polylang integration to work (display localized labels for the fields), I wanted to remove them again, but I still get error messages in the place where they were (even though I believe it’s only visible to the admin).
I deleted all field contents, made the fields optional and private, but still…Please find a screenshot at https://pix.nessware.de/nl_custom-fields.png
Any hint/help appreciated.
August 5, 2024 at 12:31 pm #330314Michael
KeymasterHello Nessi,
first of all yes, it’s visible only to site admins. Could you try to delete any entry in the Custom Fields panel and then hit save and see if they’re gone?
Michael
August 5, 2024 at 12:35 pm #330315Nessi
ParticipantThere aren’t asny. I already deleted them (by emptying out all fields).
Please see screenshots below.https://pix.nessware.de/nl_cf_1.png
https://pix.nessware.de/nl_cf_2.png
https://pix.nessware.de/nl_cf_3.png
Also when I switch to the language specific editor, there are no fields:
https://pix.nessware.de/nl_cf_4.png
https://pix.nessware.de/nl_cf_5.pngBest regards,
UdoAugust 8, 2024 at 10:25 am #330460Michael
KeymasterHello Udo,
if you try to add newsletter form shortcode on a test page, do you see the same error message about the missing custom fields?
Michael
August 14, 2024 at 1:33 pm #330662Nessi
ParticipantHi Michael,
I created a test page with the newsletter block:
https://pix.nessware.de/nl_cf_6.pngAnd I still can see the faulty custom fields
https://pix.nessware.de/nl_cf_7.pngSeems like somewhere in a database or config file, some data of the cleared fields is still there. Could it be that clearing all fields resaults in values of an empty string, and non existing custom fields have a null value?
Cheers,
UdoAugust 14, 2024 at 2:04 pm #330663Stefano
KeymasterHi, go to Subscription/Form where there are the settings of the default form and save them (possibly for each language): probably there is a stale configuration save on the database.
August 14, 2024 at 3:26 pm #330666Nessi
ParticipantHi Stefano,
Whatever remains there were… I went through every input field for “All languages” and each language and saved the hell out of the configuration 😉
And finally, it actually worked.No clue where I failed to save the empty config…
Cheers,
UdoAugust 14, 2024 at 3:37 pm #330668Stefano
KeymasterHi, it’s a bug, the patch will be published shortly. Thank you for reporting. The problem is when a custom field is “reset”: that information is not correctly propagated to the form configuration which keep in processing it (but only when the admin is looking at the form).
-
AuthorPosts
- You must be logged in to reply to this topic.