We are having a problem with CERN Componets module which appeared after cloning websites to Drupal 9 version. Prior to creating a clone, we scanned modules and these which needed to be fixed manually showed only the web/PHPStan failed error, which as I was informed here, can be ignored.
An error with CERN Componets appears on these two (test) websites after being cloned to D9: https://d9-test-test-be-dep-ics.web.cern.ch/ and https://test-be-dep-cem.web.cern.ch/
It does impact only the home pages and overview page (in case of cem) showing this message: “The website encountered an unexpected error. Please try again later.”
Thank you for your response. Could you please let me know if there are some new information regarding this issues? We have not started the preparation for the migration on the official websites yet as we are waiting for a proposed solution to this issue.
The PHPStan issue is unrelated to the twig issue you see in the error message. This issue remains a work-in-progress, and whilst annoying, it should not limit you in preparing for the Drupal 9 upgrade.
Please let us know if you experience any other issues!
Thank you for following this up. I was working on d9-be-dep-css.web.cern.ch which is a clone of the official CSS website to D9 version and when creating a new content following error appeared: “The website encountered an unexpected error. Please try again later.”
Based on reports > recent log messages it seems to be caused by PHPStan issue. Please do you have any information about this issue with adding content?
A kind reminder to clarify the CERN component module update. Is it enough to just upload this module to webdav > modules, or is some other action needed? I have tried uploading the CERN components module to webdav and migrating the test site to D9 and the homepage is working properly so far, so just uploading the module update seems to be sufficient. However, I would like to confirm this with you before starting the process on the main website.
Thank you for your response. I am still experiencing this error on the CSS website (full message above):
"When creating a new content following error appeared: “The website encountered an unexpected error. Please try again later.”
Based on reports > recent log messages it seems to be caused by PHPStan issue. Please do you have any information about this issue with adding content?"
Since the CSS website has been migrated to D9, the problem appears on this main website.