- Issue created by @corE
- πΊπΈUnited States bluegeek9
Hi @corE,
Tank you for reporting the bug.
How did you install the update? Did you use composer? Did you put your site into Maintenace mode before install 8.x-2.15?
The error is referencing new services added in 8.x-2.15: visitors.visibility. It is also refencing another service/class KernelTerminateSubscriber which was removed.
The cache needs to be cleared so Drupal knows about available services. The visitors_update_8216 function will also clear the cache. You should be able to go to http:///update.php to run the update.
I can understand the frustration of a white screen of death. If we put the contents of visitors_entity_view(), in a try/catch, it should prevent one of the errors.
KernelTerminateSubscriber has been removed. I think clearing the cache is the only way to clear the second error.
- last update
over 1 year ago 50 pass - @bluegeek9 opened merge request.
- last update
over 1 year ago 50 pass - last update
over 1 year ago 50 pass -
bluegeek9 β
committed d0c50b17 on 8.x-2.x
Issue #3375094: The website encountered an unexpected error. Please try...
-
bluegeek9 β
committed d0c50b17 on 8.x-2.x
- πΊπΈUnited States corE
Thank you bluegeek9;
I installed via admin UI update screen... put into maint mode and cleared cache before update download, but not after. After it downloaded is when I noticed the white screen and did not proceed to update.php. I didn't have time to do much so I just grabbed the error info and restored the old files (ftp). I'll take another try later. My apologies if I reported in error (or if reported a non-issue).
- πΊπΈUnited States bluegeek9
Hi corE,
I was able to fix the white screen of death issue with a try/catch. The KernelTerminateSubscriber error gets logged to Recent messages, but doesn't break the site.
I am testing 8.x-2.16. We added a view counter like the statistics module.
- Status changed to Fixed
over 1 year ago 12:54pm 20 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.