- This topic has 7 replies, 2 voices, and was last updated 3 years, 2 months ago by Tom.
September 2, 2017 at 7:39 am #377853Rustam Kamalov
Sorry for my english. I am just learning it.
So, my problem..
Today I found that my website is not work properly. It show an error site.com/index.php on line 18
OK, I checked this line and it shows error <?php
16./** Loads the WordPress Environment and Template */
17.require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
18.<?php – ERROR HERE
When I am deleting <?php< it the website works with the line above header
com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 60 which means header(‘Vary: Cookie’);
What is it, and what I should do?September 2, 2017 at 9:37 am #377914TomLead DeveloperLead DeveloperSeptember 2, 2017 at 10:37 am #377949Rustam Kamalov
Nope, I deleted WP Super Cash Plugin, but the error was the same.
Than I reinstalled WP Super CashSeptember 2, 2017 at 10:40 am #377951TomLead DeveloperLead Developer
Your error specifically mentions WP Super Cache, so it’s definitely something to do with that plugin. With caching plugins (especially that one), deactivating it doesn’t always delete the cache. I don’t know much about it, which is why I suggested checking with their support, as they might have ran into the same issue before.September 2, 2017 at 10:57 am #377964Rustam Kamalov
Thank You Tom!
I defently will write them!September 2, 2017 at 12:59 pm #378007TomLead DeveloperLead DeveloperSeptember 4, 2017 at 7:37 am #378829Rustam Kamalov
I am good in PHP. Need help
Problem not gone
Warning: Cannot modify header information – headers already sent by (output started at /home/thesemen/public_html/site.com/index.php:1) in /home/………/wp-includes/pluggable.php on line 1210
line 1210 header(“Location: $location”, true, $status);September 4, 2017 at 8:55 am #378896TomLead DeveloperLead Developer
That’s typically an issue with a plugin. Have you tried deactivating your plugins? If you don’t have access to your Dashboard, rename the plugins folder on your server to plugins1 and then log in. Then rename it back to plugins and activate your plugins one by one until the problem appears again.
- You must be logged in to reply to this topic.