Settings on metabox page are not being saved

Support MB Settings Page Settings on metabox page are not being savedResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28393
    saqibsarwarsaqibsarwar
    Participant

    Hi,

    Use case: I have created a metabox settings page in the RealHomes theme. On the settings page, there is a clonable group of fields that you can see in this screenshot: https://tppr.me/CYCJJ

    The problem is: initial cloned fields are being saved with their values fine. But when the number of cloned fields increases with values in it, the settings don't get saved properly and behave strangely. Sometimes save a couple of them and sometimes don't save at all.

    Please suggest a solution to it.

    Many thanks

    #28401
    Long NguyenLong Nguyen
    Moderator

    Hi,

    It is possible that the PHP settings max_input_varson your hosting have a lower value, please follow this article to resolve this issue and let me know if it helped.
    https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/

    #28405
    saqibsarwarsaqibsarwar
    Participant

    You are right, increasing the max_input_vars value fixed the problem.

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