1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[ASK] Header Wordpress Coding

Discussion in 'Blogging' started by alfaza, Mar 3, 2012.

  1. alfaza

    alfaza Newbie

    Joined:
    Jan 23, 2012
    Messages:
    20
    Likes Received:
    0
    Occupation:
    Freelanche
    Home Page:
    I have some problem in my blog coding header or other

    This is Warning in my page :

    please help me to correct this coding
    Thanks for all
     
  2. blackberry

    blackberry Power Member

    Joined:
    Apr 26, 2009
    Messages:
    675
    Likes Received:
    218
    Occupation:
    Making money
    Location:
    Planet Earth
    Can you show me the header.php file and i will take a look.
     
  3. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,063
    Likes Received:
    2,872
    Gender:
    Male
    It all comes from one array being empty on the line 309 of your header.php.
    You should always check for empty arrays before you loop them in foreach. If you are not that tech savvy, then I suggest you to not modify your header.php, instead, go to the top of your header.php and paste the following code on the first line (i have included the php tag).
    Code:
    <?php error_reporting(0)?>
    
    Bang! All of the errors are gone!
    Try out and let me know. :)