Timeline for Undefined index error when saving content on metabox
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 11, 2015 at 15:58 | comment | added | nivims | Great you got it working @MayeenulIslam. Have now added it as an answer. Cheers! | |
Feb 11, 2015 at 15:55 | answer | added | nivims | timeline score: 2 | |
Feb 10, 2015 at 9:57 | comment | added | Mayeenul Islam | it worked. You can add this as answer mentioning the comment as a link with a basic explanation, and then can accept it as an answer. It'll help others. :) | |
Nov 21, 2014 at 16:55 | comment | added | nivims |
@mayeenul Ah! thanks for this! Have you tried applying the solution suggested on the comments on this tutorial. It looks like I was missing a line on the save_post part by the look of it for this line: wp_nonce_field( basename( __FILE__ ), 'custom_meta_box_nonce' ); In function save_meta() replace this line: if (!wp_verify_nonce($_POST['custom_meta_box_nonce'], basename(__FILE__))) for this line: if (!isset($_POST['custom_meta_box_nonce']) || !wp_verify_nonce($_POST['custom_meta_box_nonce'], basename(__FILE__)))
|
|
Oct 15, 2014 at 4:19 | comment | added | Mayeenul Islam | I'm also having the same problem. Till can't find any solution. For the volunteers, here's the exact tuts link that the process is revised: code.tutsplus.com/articles/… | |
S Oct 15, 2014 at 4:03 | history | suggested | Gabriel | CC BY-SA 3.0 |
Fix code formatting, misc
|
Oct 15, 2014 at 3:48 | review | Suggested edits | |||
S Oct 15, 2014 at 4:03 | |||||
Jul 7, 2014 at 11:15 | history | edited | nivims | CC BY-SA 3.0 |
Added save_post information
|
Jul 7, 2014 at 10:34 | review | First posts | |||
Jul 7, 2014 at 10:43 | |||||
Jul 7, 2014 at 10:15 | history | asked | nivims | CC BY-SA 3.0 |