• Resolved sacconi

    (@sacconi)


    there is a custom field that has ceased to save the data. It doesnt even stay in the selector after the update, but it was working until some days ago. Meta key “function_camere”

    Here is the code: https://pastebin.com/E9NUWjKX

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sacconi

    (@sacconi)

    With query monitor I got this problem:

    WarningA non-numeric value encountered+

    1. wp-content/themes/sacconicase/appartamenti.php:770

    The strange is that I have at least another function (funtion_ospiti) done in the identical way, and it is working, so I cant see what is wrong in the code

    Moderator bcworkz

    (@bcworkz)

    I don’t see where camere_meta_box_save() is added to any action hook. Try adding:
    add_action('save_post', 'camere_meta_box_save');

    Thread Starter sacconi

    (@sacconi)

    right! this is done

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘field no more saving the data’ is closed to new replies.