Skip to main content

Timeline for Problem with wp_insert_post

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Aug 11, 2016 at 18:16 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
May 20, 2014 at 22:39 comment added Manuel Ragazzini i'm sorry for this reply delate. Debug.log doesn't report any error associated to ipn.php (the file that i report in the question).
May 13, 2014 at 0:07 comment added Milo have you tried determining the value of $post_id after you attempt to insert the post? if wp_insert_post fails, that will be an error object, you should log it to the log file and see what it contains.
May 12, 2014 at 23:45 history edited Manuel Ragazzini CC BY-SA 3.0
added 5907 characters in body
May 12, 2014 at 23:28 comment added Manuel Ragazzini @LukeGedeon thanks for your reply. Yes, post_pledges is already registered. I checked the method didn't work from the database and also with some scripts like mail($mail_To, $mail_Subject, $mail_Body, $mail_From) that send me an email after each step of the script. I haven't received the mail defined after wp_insert_post.
May 12, 2014 at 23:20 answer added s_ha_dum timeline score: 1
May 12, 2014 at 23:11 comment added Luke Gedeon Have you added a custom post type of post_pledges using http://codex.wordpress.org/Function_Reference/register_post_type? After confirming that can you post what errors or symptoms you are seeing to indicate that your create post method didn't work?
May 12, 2014 at 23:02 history asked Manuel Ragazzini CC BY-SA 3.0