Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue (theme functions can interfere like plugins).
Thanks Matthew.
There is a problem in the theme how can I solve that problem and how I know that why theme is creating problem.
What theme are you using?
Its a custom theme Matthew
Did you make the theme or did you have someone make it for you? There isn’t really anything I can do if a custom theme is causing the issue. I don’t know the theme and don’t know what you have done to it.
I did not make someone make it for me
Can I send you theme files may be you can get idea through that ?
Problem was that site showing this error Fatal error: Call to undefined function add_filter() in wp-config.php on line 87
Here is the screen shot of line 87 http://prntscr.com/99xt7z
When I hide them I am able to see admin panel but then site showing home page blank.
May be this will help to solve the problem.
Thanks Matthew,
I honestly don’t know what the problem could be. Since it is a custom theme I can’t point you to the theme developers. Did you make the theme 100% from scratch, or is it based off of another theme?
100% from Scratch. it is the theme
Can you please tell me how to solve the Fatal error problem ?
Thanks
Those lines should noe be in the wp-config.php. They are setting automatic updating. Edit your wp-config.php and comment them out (put two slashes at the start of the line).
see https://codex.wordpress.org/Configuring_Automatic_Background_Updates
I hide last two lines and Now the error is Fatal error: Call to undefined function wp() in wp-blog-header.php on line 14
I uploaded fresh WordPress and Now I am facing this problem Parse error: syntax error, unexpected end of file in wp-content/themes/themename/header.php on line 187
I also add ?> at the end of the code but it is not working
Not having access to your cutom theme, I can’t tell you what is happening.
Was this theme working previously? if so what changed to cause the original issue?
It was working perfectly
Can you please check the screen shot of the header.php http://prntscr.com/99zxpz
Well it looks like the if statement is missing closing ‘}’ but that is without seeing the entire file and that might not be the issue.