How to make wordpress instead of a 500 response, showed a particular error?

There is a php file. Is the theme folder. With wordpress is in no way affiliated.
But when trying to use it for a direct link says HTTP ERROR 500
https://site.ru/wp-content/themes/iconic-one/funct...
If no errors, it works fine.
error_reporting(E_ALL); - put
April 7th 20 at 10:53
2 answers
April 7th 20 at 10:55
I issue the 404
The old search for the error in the logs
My site is not site.ru - Sandy.Mayer83 commented on April 7th 20 at 10:58
April 7th 20 at 10:57

Find more questions by tags WordPress