Results 1 to 9 of 9

Thread: Issues updating to WP 3.1

  1. #1
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts

    Issues updating to WP 3.1

    I should have upgraded only on my dev. site.

    I'm getting these header errors when trying to search for a user.

    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/wp-content/themes/classipress353/includes/theme-functions.php:4585) in /home/xxxx/public_html/wp-includes/pluggable.php on line 897
    My custom Feedback post type is gone form Admin menu to and my feedback links siteurl/feedback/username are all down and return this error:

    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/wp-content/themes/classipress353/includes/theme-functions.php:4585) in /home/xxxx/public_html/wp-includes/pluggable.php on line 897

    Line 897


    if ( !function_exists('wp_redirect') ) :
    /**
    * Redirects to another page.
    *
    * @since 1.5.1
    * @uses apply_filters() Calls 'wp_redirect' hook on $location and $status.
    *
    * @param string $location The path to redirect to
    * @param int $status Status code to use
    * @return bool False if $location is not set
    */
    function wp_redirect($location, $status = 302) {
    global $is_IIS;

    $location = apply_filters('wp_redirect', $location, $status);
    $status = apply_filters('wp_redirect_status', $status, $location);

    if ( !$location ) // allows the wp_redirect filter to cancel a redirect
    return false;

    $location = wp_sanitize_redirect($location);

    if ( !$is_IIS && php_sapi_name() != 'cgi-fcgi' )
    status_header($status); // This causes problems on IIS and some FastCGI setups

    header("Location: $location", true, $status);
    }
    endif;

    if ( !function_exists('wp_sanitize_redirect') ) :
    /**
    * Sanitizes a URL for use in a redirect.
    *
    * @since 2.3
    *
    * @return string redirect-sanitized URL
    **/
    line 4585 from theme-functions.php:


    if($post_id) {







    // now update all the custom fields



    foreach($_POST as $meta_key => $meta_value) {



    if (appthemes_str_starts_with($meta_key, 'cp_'))



    //echo $meta_key . ' <--metakey <br/>' . $meta_value . ' <--metavalue<br/><br/>'; // for debugging



    update_post_meta($post_id, $meta_key, $meta_value);



    }
    Last edited by pepsi; February 24th, 2011 at 02:47 PM.

  2. #2
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. The Following User Says Thank You to doctorcilantro For This Useful Post:

    theecotrader (February 24th, 2011)

  4. #3
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,958
    Thanks
    169
    Thanked 3,405 Times in 3,276 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  5. #4
    Member theecotrader's Avatar
    Join Date
    Feb 2011
    Posts
    86
    Thanks
    29
    Thanked 5 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #5
    Member theecotrader's Avatar
    Join Date
    Feb 2011
    Posts
    86
    Thanks
    29
    Thanked 5 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #6
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #7
    Member theecotrader's Avatar
    Join Date
    Feb 2011
    Posts
    86
    Thanks
    29
    Thanked 5 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #8
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #9
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Tags are not updated !!!
    By pinocchio in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: January 21st, 2011, 03:54 AM
  2. The installation instructions need to be updated/clarified.
    By ejikoala in forum ClassiPress General Discussion
    Replies: 0
    Last Post: September 25th, 2009, 11:49 PM
  3. Updated Plugins
    By tifosi in forum ClassiPress General Discussion
    Replies: 2
    Last Post: June 13th, 2009, 07:40 AM