Redirects Page Returns 500 Error
zadro opened this issue · 0 comments
zadro commented
First, thank you SO much for fixing the keywords issue!!
Upon upgrade, the Redirects page returns a 500 error.
Looking at the log files show the following:
Call to a member function where() on array at /home/user/craft/vendor/ether/seo/src/controllers/RedirectsController.php:39)
Reverting line 39, from:
foreach (Craft::$app->sites->getAllSites()->where(['dateDeleted' => null]) as $site)
Back to a prior version:
foreach (Craft::$app->sites->getAllSites() as $site)
...allows the Redirects page to load again.
Additional info
- Craft version: Craft Pro 4.4.7
- SEO version: 4.1.0
- PHP version: 8.1.17
- Database driver & version: MariaDB 10.11.2
- Other Plugins: None