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
- The topic ‘Save function now working.’ is closed to new replies.