Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    Junior Member
    Join Date
    Aug 2016
    Posts
    11
    Member #
    55039
    Liked
    1 times

    Talking Got another php error guys

    has anyone you seen this one before...

    it happens when my users tries to purchase a membership package. When it goes to the billing/payment page it shows this error..


    PHP Code:
     WarningCannot modify header information headers already sent by (output started at /home/content/a2pnexwpnas02_data01/92/3515092/html/wp-content/themes/superlist/header.php:11in /home/content/a2pnexwpnas02_data01/92/3515092/html/wp-includes/pluggable.php on line 1174 

    any help goes a long way.. Please and thank you...

  2.  

  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Can you post the 2 files it calls out?
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  4. #3
    Junior Member
    Join Date
    Aug 2016
    Posts
    11
    Member #
    55039
    Liked
    1 times
    this is the header.php file

    Code:
     <?php
    /**
     * The template for displaying header
     *
     * @package Superlist
     * @since Superlist 1.0.0
     */
    
    ?>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?> class="no-js">
    <head>
        <meta charset="<?php bloginfo( 'charset' ); ?>">
        <meta name="viewport" content="width=device-width">
        <link rel="profile" href="http://gmpg.org/xfn/11">
        <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    
        <?php if ( is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?>
    
        <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    
    <?php if ( class_exists( 'Inventor_Template_Loader' ) ) :   ?>
        <?php echo Inventor_Template_Loader::load( 'misc/messages' ); ?>
    <?php endif; ?>
    
    <div class="page-wrapper">
        <header class="header header-minimal">
            <?php if ( is_active_sidebar( 'header-topbar-left' ) || is_active_sidebar( 'header-topbar-right' ) ) : ?>
                <div class="header-bar">
                    <div class="container">
                        <div class="header-bar-inner">
                            <?php if ( is_active_sidebar( 'header-topbar-left' ) ) : ?>
                                <div class="header-bar-left">
                                    <?php dynamic_sidebar( 'header-topbar-left' ); ?>
                                </div><!-- /.header-bar-left -->
                            <?php endif; ?>
    
                            <?php if ( is_active_sidebar( 'header-topbar-right' ) ) : ?>
                                <div class="header-bar-right">
                                    <?php dynamic_sidebar( 'header-topbar-right' ); ?>
                                </div><!-- /.header-bar-right -->
                            <?php endif; ?>
                        </div><!-- /.header-bar-inner -->
                    </div><!-- /.container -->
                </div><!-- /.header-bar -->
            <?php endif; ?>
    
            <div class="header-wrapper affix-top">
                <div class="container">
                    <div class="header-inner">
                        <div class="header-logo">
                            <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
                                <?php if ( get_theme_mod( 'superlist_logo' ) ) : ?>
                                    <img src="<?php echo esc_attr( get_theme_mod( 'superlist_logo' ) ); ?>" alt="<?php bloginfo( 'name' ); ?>">
                                <?php else : ?>
                                    <i class="superlist-logo"></i>
                                <?php endif; ?>
    
                                <?php if ( display_header_text() ) : ?>
                                    <strong><?php bloginfo( 'name' ); ?></strong>
                                    <span><?php bloginfo( 'description' ); ?></span>
                                <?php endif; ?>
                            </a>
                        </div><!-- /.header-logo -->
    
                        <div class="header-content">
                            <div class="header-bottom">
                                <?php if ( has_nav_menu( 'main' ) ) : ?>
                                    <?php wp_nav_menu( array(
    									'container_class'   => 'header-nav-container',
    									'fallback_cb'		=> '',
    									'theme_location'    => 'main',
    									'menu_class'        => 'header-nav-primary nav nav-pills collapse navbar-collapse',
    								) ); ?>
                                <?php endif; ?>
    
                                <?php if ( get_theme_mod( 'superlist_general_action' ) ) : ?>
                                    <div class="header-action">
                                        <a href="<?php echo esc_attr( get_permalink( get_theme_mod( 'superlist_general_action' ) ) ); ?>" class="header-action-inner" title="<?php echo esc_attr( get_theme_mod( 'superlist_general_action_text' ) ); ?>" data-toggle="tooltip" data-placement="left">
                                            <i class="fa fa-plus"></i>
                                        </a><!-- /.header-action-inner -->
                                    </div><!-- /.header-action -->
                                <?php endif; ?>
    
                                <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".header-nav-primary">
                                    <span class="sr-only"><?php echo esc_attr__( 'Toggle navigation', 'superlist' ); ?></span>
                                    <span class="icon-bar"></span>
                                    <span class="icon-bar"></span>
                                    <span class="icon-bar"></span>
                                </button>
                            </div><!-- /.header-bottom -->
                        </div><!-- /.header-content -->
                    </div><!-- /.header-inner -->
                </div><!-- /.container -->
    
                <?php if ( class_exists( 'Inventor_Post_Types' ) ) : ?>
                    <div class="header-post-types">
                        <div class="container">
                            <?php $post_types = apply_filters( 'inventor_submission_allowed_listing_post_types', Inventor_Post_Types::get_listing_post_types() ); ?>
                            <?php $page_id = get_theme_mod( 'inventor_submission_create_page' ); ?>
                            <?php $page_permalink = get_permalink( $page_id ); ?>
    
                            <?php if ( ! empty( $post_types ) ) : ?>
                                <ul>
                                    <?php foreach ( $post_types as $post_type ) : ?>
                                        <li>
                                            <a href="<?php echo esc_attr( $page_permalink ); ?>?type=<?php echo esc_attr( $post_type ); ?>">
                                                <?php echo esc_attr( get_post_type_object( $post_type )->labels->singular_name ); ?>
                                            </a>
                                        </li>
                                    <?php endforeach; ?>
                                </ul>
                            <?php endif; ?>
                        </div><!-- /.container -->
                    </div><!-- /.header-post-types -->
                <?php endif; ?>
            </div><!-- /.header-wrapper -->
        </header><!-- /.header -->
    
        <?php if ( class_exists( 'Inventor_Post_Types' ) ) : ?>
            <?php $post_types = Inventor_Post_Types::get_listing_post_types(); ?>
            <?php if ( is_singular( $post_types ) ) : ?>
                <?php get_template_part( 'templates/content-listing-banner' ); ?>
    
                <div class="listing-detail-menu-wrapper">
                    <div class="listing-detail-menu">
                        <div class="container">
                            <ul class="nav nav-pills"></ul>
                        </div><!-- /.container -->
                    </div><!-- /.listing-detail-menu -->
                </div><!-- /.listing-detail-menu-wrapper -->
            <?php endif; ?>
        <?php endif; ?>
    
        <div class="main">
    
            <?php dynamic_sidebar( 'top-fullwidth' ); ?>
    
            <div class="main-inner">
                <div class="container">
                    <?php dynamic_sidebar( 'top' ); ?>

  5. #4
    Junior Member
    Join Date
    Aug 2016
    Posts
    11
    Member #
    55039
    Liked
    1 times

    this is the pluggable file

    this is the pluggable.php file i had to attach it because it was so big
    Last edited by jhowel03; Sep 08th, 2016 at 03:38 PM.

  6. #5
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,686
    Member #
    5580
    Liked
    716 times
    Take a close look at this part:

    PHP Code:

     <?php
    /**
     * The template for displaying header
     *
     * @package Superlist
     * @since Superlist 1.0.0
     */

    ?>
    Notice there is a space before <?php

    Remove that space and tell me if the error is still there.


  7. #6
    Junior Member
    Join Date
    Aug 2016
    Posts
    11
    Member #
    55039
    Liked
    1 times
    there is no space.. sorry that is just the way i pasted it..

  8. #7
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Quote Originally Posted by jhowel03 View Post
    this is the pluggable.php file i had to attach it because it was so big
    There is no attachment.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  9. #8
    Junior Member
    Join Date
    Aug 2016
    Posts
    11
    Member #
    55039
    Liked
    1 times
    not sure if you got the pluggable.php file so i took a screen shot of it

    pluggable file.jpg

  10. #9
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    I didn't. Paste it up on pastebin or something.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  11. #10
    Junior Member
    Join Date
    Aug 2016
    Posts
    11
    Member #
    55039
    Liked
    1 times
    i tried to paste it.. but it wouldnt submit to many character ..


    so i attached a image..


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:02 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com