• Resolved clage

    (@clage)


    When I try to access to wp-admin I get this warning:

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/virtual/acquaerisparmi.it/htdocs/wp-content/themes/twentytwelve-child1/functions.php:12) in /var/www/virtual/acquaerisparmi.it/htdocs/wp-includes/pluggable.php on line 1179

    Really I tried to modify the file functions.php but, as my modifications couldn’t work I kept the previous version.

    Please can you help me to understand what I can do?

Viewing 10 replies - 1 through 10 (of 10 total)
  • JenR

    (@jennifer-roberts)

    Yep, you can fix this – but you’ll need to use FTP to access your site files on the server and rename that child theme folder – then WP will use a default theme and you’ll be able to login again.

    Ask your hosting company how to set up FTP if you’re not familiar with it.

    Thread Starter clage

    (@clage)

    After that may I rename back the folder?

    JenR

    (@jennifer-roberts)

    Fix the functions file first :)!

    Thread Starter clage

    (@clage)

    Thank you!:-)

    Thread Starter clage

    (@clage)

    Well,

    I did all the changes, I got again the access, I closed and I came again with the same warning. ???

    Thread Starter clage

    (@clage)

    I changed only the functions.php. It should be better change all the other files in the folder?

    JenR

    (@jennifer-roberts)

    What is in your child theme functions.php file? Do you have a lot of custom functions, because it’s not that usual otherwise.

    Thread Starter clage

    (@clage)

    I have only two. But today I did maybe a mistake trying to introduce the Google analytics code.

    Thread Starter clage

    (@clage)

    And I was not able to introduce the code! 🙁

    JenR

    (@jennifer-roberts)

    Have you tried a plugin to add that – probably an easier way to go :). But I’m glad this one is resolved – you can always start a new thread if you want to discuss the other.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Cannot access to wp admin’ is closed to new replies.