• Hi,

    Since a while, each time i post something trough the admin of WordPress i have this message:

    Undefined index: page in //////wordpress/wp-content/plugins/shortcodes-ultimates.php on line 270
    Warning : Cannot modify header information – header already sent by (output started at /////wordpress/wp-content/plugins/shortcodes-ultimate.php:270) in //////wordpress/wp-admin/post.php on line 197.

    Warning : Cannot modify header information – header already sent by (output started at /////wordpress/wp-content/plugins/shortcodes-ultimate.php:270) in //////wordpress/wp-includes/pluggable.php on line 1210.

    I’ve check the files and it seems there is not whitespace there
    Any idea that can help ?

    Here are the lines between 195 and 200 of post.php if it can help you to see what’s wrong:

    // Session cookie flag that the post was saved
    if ( isset( $_COOKIE[‘wp-saving-post’] ) && $_COOKIE[‘wp-saving-post’] === $post_id . ‘-check’ ) {
    setcookie( ‘wp-saving-post’, $post_id . ‘-saved’, time() + DAY_IN_SECONDS, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, is_ssl() );
    }

    redirect_post($post_id); // Send user on their way while we keep working

    exit();

    and here is the code i’ve found between lines 1155 and 1214 of the file pluggable.php, sorry it’s a bunch of text :

    /**
    * Redirects to another page.
    *
    * Note: wp_redirect() does not exit automatically, and should almost always be
    * followed by a call to exit;:
    *
    * wp_redirect( $url );
    * exit;
    *
    * Exiting can also be selectively manipulated by using wp_redirect() as a conditional
    * in conjunction with the {@see ‘wp_redirect’} and {@see ‘wp_redirect_location’} hooks:
    *
    * if ( wp_redirect( $url ) ) {
    * exit;
    * }
    *
    * @since 1.5.1
    *
    * @global bool $is_IIS
    *
    * @param string $location The path to redirect to.
    * @param int $status Status code to use.
    * @return bool False if $location is not provided, true otherwise.
    */
    function wp_redirect($location, $status = 302) {
    global $is_IIS;

    /**
    * Filters the redirect location.
    *
    * @since 2.1.0
    *
    * @param string $location The path to redirect to.
    * @param int $status Status code to use.
    */
    $location = apply_filters( ‘wp_redirect’, $location, $status );

    /**
    * Filters the redirect status code.
    *
    * @since 2.3.0
    *
    * @param int $status Status code to use.
    * @param string $location The path to redirect to.
    */
    $status = apply_filters( ‘wp_redirect_status’, $status, $location );

    if ( ! $location )
    return false;

    $location = wp_sanitize_redirect($location);

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

    header(“Location: $location”, true, $status);

    return true;
    }
    endif;

    Thanks in advance for your help,

  • The topic ‘Issue with Ultimate Shortcode since few days’ is closed to new replies.