You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
On a Statamic fresh install, i just created Posts collection.
I'd like to link Posts ans Pages to navigation items, but when I select the Collections selector, it shows :
On the console :
I didn't have this error before....
I'm stuck right now. My Pro licences are useless for now.
How to reproduce
Install Statamic (CLI)
Create Posts Collection (no blueprint attached)
Create Navigation
Configure Navigation > Try to select Pages/Posts on the Collection Selector
Logs
No response
Environment
MAMP Pro :
PHP: 8.1Statamic: 3.3.58Coffee : Nespresso Pixie
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
No response
Additional details
No response
The text was updated successfully, but these errors were encountered:
I have the same issue. Fresh statamic installation and tried running with Artisan Serve. The error on the php-side:
{
"message": "Trying to access array offset on value of type null",
"exception": "ErrorException",
"file": "/Users/username/Projects/demoproject/vendor/statamic/cms/src/Http/Controllers/CP/Fieldtypes/RelationshipFieldtypeController.php",
"line": 47
}
The same issue appears when you try to select an entry from an 'entries' field.
Edit:
See: #6823
When you update php 8.1.2+ it should work again. Tested it with php 8.1.11.
@stephanbouman
Just gave a try and ! Ta-dam ! It works again.
As you said, it must be a PHP 8.0 & PHP 8.1 specific issue.
Thanks a lot ! You saved my day.
Bug description
Hi everyone,
On a Statamic fresh install, i just created Posts collection.
I'd like to link Posts ans Pages to navigation items, but when I select the Collections selector, it shows :
On the console :
I didn't have this error before....
I'm stuck right now. My Pro licences are useless for now.
How to reproduce
Install Statamic (CLI)
Create Posts Collection (no blueprint attached)
Create Navigation
Configure Navigation > Try to select Pages/Posts on the Collection Selector
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
No response
Additional details
No response
The text was updated successfully, but these errors were encountered: