Forum Replies Created

Viewing 1 replies (of 1 total)
  • Seems like this is a PHP issue: I’m using PHP 5.0.5 and had this error also.

    I changed the code at line 379 to the following and it worked:

    $post = get_post(( wp_insert_post( array( 'post_title' => __( 'Auto Draft' ), 'post_type' => $post_type, 'post_status' => 'auto-draft' ) ) ));

    You’ll notice the only difference is a set of double parenthesis inside the get_post method call.

Viewing 1 replies (of 1 total)