I tried the following code on SSH to try and set up Error Reporting on a Wordpress Bitnami vm-instance on Google Cloud Console:
sudo -i
sudo nano /opt/bitnami/php/etc/php.ini
auto_prepend_file="/opt/bitnami/vendor/google/cloud-error-reporting/src/prepend.php"
And the vm-instance IP address fails to load after that. (XX.XXX.XXX.XXX)
It keeps reaching a HTTP 500 Error. I posted on Bitnami's support forum after running their support tool, and this thread is the reply:
From what I can see, the errors should be related to your added configuration for Error Reporting. Apache's logs have an error that should be coming from the added google files but we do not have access to them and Error Reporting functioning and configuration is something we are not experts of.
[Wed Mar 17 02:11:30.121059 2021] [proxy_fcgi:error] [pid 1246:tid 140630424536832] [client 203.116.130.16:52842] AH01071: Got error 'PHP message: PHP Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0PHP message: PHP Fatal error: Unknown: Failed opening required '/opt/bitnami/apache2/htdocs/vendor/google/cloud-error-reporting/src/prepend.php' (include_path='.:/opt/bitnami/php/lib/php') in Unknown on line 0'
[Wed Mar 17 02:13:08.498151 2021] [proxy_fcgi:error] [pid 1614:tid 140631296952064] [client 203.116.130.16:52847] AH01071: Got error 'PHP message: PHP Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0PHP message: PHP Fatal error: Unknown: Failed opening required '/opt/bitnami/apache2/htdocs/vendor/google/cloud-error-reporting/src/prepend.php' (include_path='.:/opt/bitnami/php/lib/php') in Unknown on line 0'
Does anyone know what I can do about this error to get the website back up again?