Title: Save function now working.
Last modified: August 31, 2016

---

# Save function now working.

 *  [Xinator](https://wordpress.org/support/users/xinator/)
 * (@xinator)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/save-function-now-working/)
 * I’ll say this now, this is my first plugin. I’m trying to make a plugin where
   my customer just has to fill out the form and it will then be posted on the website.
 * I’ve made the form, but whenever I click “New Post”, I get: “**Warning**: call_user_func_array()
   expects parameter 1 to be a valid callback, function ‘addinv_save_meta’ not found
   or invalid function name in **/wordpress/wp-includes/plugin.php** on line **503**“.
   
   And when I either “Publish” or “Update” I also get the warnings: “**Warning**:
   call_user_func_array() expects parameter 1 to be a valid callback, function ‘
   addinv_save_meta’ not found or invalid function name in **/wordpress/wp-includes/
   plugin.php** on line **503** **Warning**: Cannot modify header information – 
   headers already sent by (output started at /wordpress/wp-includes/plugin.php:
   503) in **/wordpress/wp-includes/pluggable.php** on line **1207**“
 * I’d just like to know where I went wrong.
    Here is a link to the file with the
   meta boxes: [https://github.com/Xinator/Add-Inventory-Plugin/blob/master/meta-boxes](https://github.com/Xinator/Add-Inventory-Plugin/blob/master/meta-boxes)

The topic ‘Save function now working.’ is closed to new replies.

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [save](https://wordpress.org/support/topic-tag/save/)

 * 0 replies
 * 1 participant
 * Last reply from: [Xinator](https://wordpress.org/support/users/xinator/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/save-function-now-working/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
