Twig error: Key "heading" for array with keys "manageSitemap, manageRedirects" does not exist.
MarkOlijslagers opened this issue · 6 comments
Description
When i try to access my account page in the Craft control panel (/admin/myaccount) the following error occurs:
Twig Runtime Error – Twig\Error\RuntimeError
Key "heading" for array with keys "manageSitemap, manageRedirects" does not exist.
I am using Craft CMS 4.0.2 and SEO 4.0.0
Steps to reproduce
- Login the admin panel and go to /admin/myaccount
Additional info
- Craft version: 4.0.2
- SEO version: 4.0.0
- PHP version: 8.1
- Database driver & version: MySQL
- Other Plugins: Redactor
This one is fixed in 4.0.2 but there is no release in Packagist, so it is not installable right now.
See #405
Can also confirm I have this error
@niektenhoopen see my suggestion in #405. This will fix the issue.
@dejury I don't have the issue. Technically I was the person who touched the version in composer in the PR that added Craft 4 support so a git blame
would probably point to me ;-) I kept in in the composer.json file because it was already there: https://github.com/ethercreative/seo/pull/397/files#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34R5
Thanks for PR #411. Hope it will be merged soon.