Suddenly template shows errors

  • Author
    Posts
  • #36598
    Mateusz

    Dear All!

    I have strong issue. When I added a photo to a static page, wordpress shows some errors:

    Notice: Undefined index: array in /home/wam/ftp/akademia/wp-content/themes/nirvana/functions.php on line 3
    
    Notice: Undefined index: ea9e6 in /home/wam/ftp/akademia/wp-content/themes/nirvana/includes/theme-comments.php on line 1
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/wam/ftp/akademia/wp-content/themes/nirvana/functions.php:3) in /home/wam/ftp/akademia/wp-admin/post.php on line 197
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/wam/ftp/akademia/wp-content/themes/nirvana/functions.php:3) in /home/wam/ftp/akademia/wp-includes/pluggable.php on line 1171

    Now on the page in header is:

    
    Notice: Undefined index: array in /home/wam/ftp/akademia/wp-content/themes/nirvana/functions.php on line 3
    
    Notice: Undefined index: ea9e6 in /home/wam/ftp/akademia/wp-content/themes/nirvana/includes/theme-comments.php on line 1

    Something is wrong with template, because if i change it for any other, everything is ok. Strange is it, that before adding photo there was all ok. Maybe it is only a coincidence, I don’t know… What can be wrong?

    Greetings!

    #36636
    Zed
    Cryout Creations mastermind

    There is no array in nirvana/functions.php on line 3. There is also no ‘ea9e6’ in nirvana/includes/theme-comments.php on line 1. My guess is your site got hacked and code got added to (most or all of) the files.

    I suggest reading
    https://codex.wordpress.org/FAQ_My_site_was_hacked


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Suddenly template shows errors’ is closed to new replies.