Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Undefined array key "__" #139

Closed
wdelfuego opened this issue Nov 2, 2022 · 1 comment
Closed

Error: Undefined array key "__" #139

wdelfuego opened this issue Nov 2, 2022 · 1 comment

Comments

@wdelfuego
Copy link

Hi,

thanks for a great package!

I added the package to my project, followed all setup instructions, but get the following error when I open the Detail and Edit views for a page I created:

Undefined array key "__" {"userId":1,"exception":"[object] (ErrorException(code: 0): Undefined array key \"__\" at /app/vendor/outl1ne/nova-page-manager/src/Http/Controllers/PageManagerController.php:118)

In that file at line 118, I see that $seoPanelsData['__'] is supposed to exist, but doesn't.

Am I doing something wrong? Should I add SEO fields to the page template manually in order to fix this error?

Running under Laravel Nova 4.18.1 / Laravel 9 / PHP 8.1.5

Thanks for any help!

@Tarpsvo
Copy link
Collaborator

Tarpsvo commented Nov 3, 2022

Hey @wdelfuego! Sorry about that - there was indeed an issue with the template fields formatter. Please try again using version 5.8.1. Good luck!

@Tarpsvo Tarpsvo closed this as completed Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants