Resolved by following comment on Tutsplus Tutorial (link included):
In function save_meta(), replace this line:
if (!wp_verify_nonce($_POST['custom_meta_box_nonce'], basename(__FILE__)))
with this line:
if (!isset($_POST['custom_meta_box_nonce']) || !wp_verify_nonce($_POST['custom_meta_box_nonce'], basename(__FILE__)))
See full comment here.
Related Posts:
- Custom field/meta populated by dropdown of existing posts?
- What is the index [0] for on post meta fields?
- Gutenberg add a custom metabox to default blocks
- ‘Preview Changes’ for custom meta boxes?
- Custom field metabox not showing in back-end
- How to hide meta box values from custom fields list?
- Arrange custom fields with drag and drop?
- How can I avoid re-inventing the Custom Fields wheel in my Plugin’s Metabox?
- Unable to get Preview of Uploaded image within a Custom Meta box
- Using media-upload.php to upload mp3 via custom fields
- How to store the value of a custom field dropdown select for post referencing?
- Custom Meta Boxes: Store two values in one repeatable field
- Problem in custom meta boxes
- Multiplile values checkbox or select in custom meta box
- Create custom field key upon theme activation
- Adding a custom field or metabox to the post-thumbnail widget?
- Custom fields to save multiple values
- Metabox with multiple fields added by user and upload box
- My metabox class
- wp_handle_upload error “Specified file failed upload test” but still creates attachment?
- Loading scripts to the Post Edit page only
- Woocommerce with metabox plugin
- wp_editor removes paragraph from custom meta box
- WP Custom Fields Metabox Disappears – ACF plugin issue [closed]
- How to check for specific meta box value on front end and output accordingly
- Where did the Add New Custom Field go?
- How Meta Data is different from Custom Fields of POST/PAGE in WordPress
- Admin meta Image Path
- Tweak Meta for Post to work it for Pages also
- Users Select inside custom metabox
- how to fetch the meta field keys/meta boxes from a post type?
- How to Create Dynamic Fields in a Meta Box?
- Set front page option using custom fields?
- Should custom meta boxes be able to output shortcodes the same as WordPress’ native post editor?
- Can’t get metabox value (a url) returned using WPAlchemy
- Custom Meta Box (SELECT) Not Saving
- Get updated meta value after post update or published (custom post type) using hook
- Why is my Custom Meta Box Field Inputs NOT saving?
- Custom Metabox additional item
- get_posts in meta box dropdown not showing latest posts
- How can you include custom post meta in search without calling each key?
- Display Custom Meta Box Field Only If Value is Present
- When creating a metabox do you have to create DB fields for the data?
- Specific coditional usage [closed]
- Set checkbox as checked by default in a metabox
- Singleton Custom Field (Meta Box)
- Custom metabox not displaying multiselect data in edit mode
- How to validate select field in post meta?
- Is it preferable to use custom code to create metaboxes instead of plugins (such as ACF) and if so why? [closed]
- Values entered in a meta box aren’t saved
- How add multiple wp_editor_box to new post
- Scripts and tags will not save or output from my custom meta box
- Using WP Color Picker in Repeatable Fields
- MetaBox not saving after empty
- Displaying pages with a specific custom meta
- How do I save Multiple fields in a meta box?
- Enable a short code in the custom meta field
- How to validation for sanitize_URL?
- put saved metabox values back into fields and then display on the front end
- HM CMB: Role Select
- Custom metabox not working
- Trying to implement AJAX into my admin pages. Am I improperly enqueue and localizing my scripts?
- Meta Box Plugin Cloned Fields – Multiple Foreach values
- Show array of meta_value in Edit Post Coloum
- How to Convert Custom Fields from Text to Array?
- How to display data from custom fields I created?
- Display metabox title for custom fields with values
- WP E-Commerce Custom Meta > Serialized array
- Custom Field & Gravity Forms [closed]
- Working with multiple values and metaboxes
- show a specific metabox dependent on the page template
- Gutenberg add a custom metabox to default blocks
- Making custom meta box required (with error message if not filled in) on Gutenberg
- HTML for adding a meta box (basic text field) to page editor?
- Move the metaboxes to the very top of post editor
- How to improve my non-unique metadata MySQL entries?
- Adding text box with add_meta_box
- Add forms dynamically in admin pages?
- How can I ‘check’ the “custom fields” box from the Screen Options?
- add meta box considers the selected option as post parent
- How do I display a custom field in an existing form on the front end?
- get wordpress post loop by meta box date
- Sub Field of File Field
- If metabox fields has content display content
- Append custom field items to content from plugin
- Can’t save meta field value if the title not set
- Display Data From This Custom Media Upload Meta Box?
- When post is updated, custom metadata in text area field is overwritten
- Call the latest posts from a custom field group to be displayed on front-page
- My meta boxes update wp_postmeta of posts but not of pages. What is wrong with the code?
- Can i categorise my meta box?
- I want my post to republish again after adding a custom field
- When editing a post with a custom meta box the values aren’t displaying correctly
- Use Metabox to enter Post Title
- Include custom fields into the content of a regular page
- Creating an If/Else statement using WPAlchemy MetaBox radio boxs
- How to get the value of particular get $meta value in wordpress
- How to add new Metadata options (Date, Author, etc.) for Posts?
- Saving multiple custom meta box fields
- Custom fields empty after refreshing page