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

WordPress fix Use of undefined constant HEADER_IMAGE_WIDTH

Discussion in 'Misc WordPress Requests' started by shadez, Mar 16, 2018.

  1. shadez

    Guest

    Use of undefined constant HEADER_IMAGE_WIDTH, by shadez

    Hello fellow coders,
    Its been a while i coded in WP, but even then am stumped by this error which just popped up on my website :-


    Warning: Use of undefined constant HEADER_IMAGE_WIDTH - assumed 'HEADER_IMAGE_WIDTH' (this will throw an Error in a future version of PHP) in /home/wp-content/themes/AutoNetwork/functions.php on line 56

    Warning: Use of undefined constant HEADER_IMAGE_HEIGHT - assumed 'HEADER_IMAGE_HEIGHT' (this will throw an Error in a future version of PHP) in /home/wp-content/themes/AutoNetwork/functions.php on line 56

    Warning: Cannot modify header information - headers already sent by (output started at /home/wp-content/themes/AutoNetwork/functions.php:56) in /home/wp-login.php on line 421


    How will HEADER_IMAGE_WIDTH be an undefined constant???!!!
    Am debugging. Will try injecting via ftp after removing that line of code maybe.

    Anyways, anybody got any idea wtf happened?
    TIA. Cheers.

    Use of undefined constant HEADER_IMAGE_WIDTH
     
    #1

Share This Page

Monarch Social Sharing Plugin