I'm currently trying to deploy the Symfony sample code to App Engine Flexible Environment. But I am getting this error.
Thanks to the feedback I solved the problem by installing the google/cloud-error-reporting
package
composer require google/cloud-error-reporting