Custom Field empty after saving

Support Meta Box AIO Custom Field empty after savingResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33412
    BenBen
    Participant

    Hey guys,

    I have created a custom field for woocommerce products using Meta Box. Shortly after that I decided to rename the custom field and therefore also adjusted the ID. Unfortunately, since then I have the problem that the field can no longer be filled.

    I enter the content of the Woocommerce article into the field, save the product and after reloading the page the field is empty again.

    How can I solve the problem?
    Deleting and recreating the field (with the same name and ID) did not solve the problem.

    Thanks already once.

    #33423
    Long NguyenLong Nguyen
    Moderator

    Hi Ben,

    You can follow this article to increase the PHP setting max_input_vars https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/

    If it does not help, please share the code that creates the field on your site. I will check it on my end.

    #33427
    BenBen
    Participant

    Hey Long,

    I was able to solve the problem myself.
    It seems that when the ID was changed, some old ID names remained in the database. It helped to replace all the old ID names in the database with the new one.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.