Nachdem unsere Website live war, habe ich noch mein Standard-Sicherheitsplugin ShieldPro installiert. Daraufhin waren alle Seiten mit Churchtools-Blöcken komplett leer, bis auf den Header. Der WordPress Error log meldet:
Fatal error: Declaration of Symfony\Component\Cache\CacheItem::expiresAt(?DateTimeInterface $expiration): static must be compatible with Psr\Cache\CacheItemInterface::expiresAt($expiration) in /home/www/wp-fcg/wp-content/plugins/sb-churchtools-grouphomepage/vendor/symfony/cache/CacheItem.php on line 65
Die Antwort des Shield-Entwicklers:
The fix is straightforward here - the code in the churchtools plugin just needs a tweak so that they method signatures align with the underlying PSR Cache library. This is quite common where sites/apps would run under, say, PHP 7.x and then upgrade to PHP 8.x which is a bit stricter when enforcing types. It might be as simple as updating the PSR library if it's a bit older, which I suspect is the case.
Komischerweise läuft im Moment wieder alles wie es soll. Ich gebe das aber mal weiter.