how to define problem with wordpress

How to define the problem with WordPress

It seems something wrong with the website that I could not visit it,but I could visit the backend of the website.
Here is my solution as below:

  1. Access to FTP
  2. Go to logs
  3. logs/php_errors
  4. The error shows something wrong with my child theme.
  5. I tested to install another theme which works fine.
  6. Then I noticed somehow the Parent theme of my child theme is missing, so I installed the parent one.
  7. All good now.