Error log returns errors in footer – possible hack?
-
Hello
I can’t use the wp-admin page at this site – it returns a blank page. The site works ok in a testing area on another web host, so this gives me confidence it’s not the theme or plugins. I have checked the error log which returns the following issues:PHP Warning: Cannot modify header information – headers already sent by (output started at /home/petrabis/public_html/wp-content/themes/organic_portfolio_white/header.php:1) in /home/petrabis/public_html/wp-content/themes/organic_portfolio_white/footer.php on line 21
[06-Jun-2018 21:21:31 UTC] PHP Warning: simplexml_load_file(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/petrabis/public_html/wp-content/themes/organic_portfolio_white/footer.php on line 22
[06-Jun-2018 21:21:31 UTC] PHP Warning: simplexml_load_file(https://www.trafiksigortasii.com/feed): failed to open stream: no suitable wrapper could be found in /home/petrabis/public_html/wp-content/themes/organic_portfolio_white/footer.php on line 22There are lots more of these but they seem to relate to lines 21 and 22 of the footer. In this section of the footer I recently noticed this link to trafiksigortasii – I don’t recognise this so was presuming this may have been some kind of hack? What I did was remove the code I found relating to this, which was inside a div with the style visibility=hidden. This is what this area of code in the footer now looks like:
</div> <div class="footertop"> <div style="visibility:hidden;"> </div> <p><?php _e("Copyright", 'organicthemes'); ?> © <?php echo date('Y'); ?> · <?php _e("All Rights Reserved", 'organicthemes'); ?> · <?php bloginfo('name'); ?></p> </div>
Have I missed something in terms of opening and closing divs?
If you can help me resolve the errors around this that are appearing in the log, that would be great. I’m hoping this may be why I’ve lost access to the wp-admin page.
Many thanksThe page I need help with: [log in to see the link]
- The topic ‘Error log returns errors in footer – possible hack?’ is closed to new replies.