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

CP Blueprint 'Hidden' Toggle #4565

Closed
archoda opened this issue Oct 24, 2021 · 1 comment · Fixed by #4607
Closed

CP Blueprint 'Hidden' Toggle #4565

archoda opened this issue Oct 24, 2021 · 1 comment · Fixed by #4607

Comments

@archoda
Copy link

archoda commented Oct 24, 2021

Bug description

When editing a Blueprint for Pages in the demo/free install. If you toggle the 'Hidden' switch. It will throw an error and prevent the Page Collection from loading. I had to go into App/resources/blueprints/collections/pages and change the 'hidden' bool back to false

How to reproduce

  1. Install Statamic Demo/Free Mode
  2. Navigate to Blueprints -> Pages
  3. Toggle the 'Hidden' switch to 'On' mode under the blueprint title.
  4. Save the change.
  5. Navigate to Collections -> Pages and see error: Call to a member function columns() on null

https://flareapp.io/share/w5ByYlv7?error=w5ByYlv7&owner_token=HAslSd1Zk7vuxU9DFDSyufMj4CM9SYif#F69

Screen Shot 2021-10-24 at 12 41 33 PM

Screen Shot 2021-10-24 at 12 41 16 PM

Logs

Error
Call to a member function columns() on null

[localhost/domain]/cp/collections/pages

---

Statamic\Http\Controllers\CP\Collections\CollectionsController::show
vendor/statamic/cms/src/Http/Controllers/CP/Collections/CollectionsController.php:68

Versions

Statamic 3.2.17 Solo
Laravel 8.67.0
PHP 7.3.24-(to be removed in future macOS)
No addons installed

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

@jasonvarga
Copy link
Member

This error is obviously not great and we can fix that, but you're seeing this because you have hidden all the blueprints.

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

Successfully merging a pull request may close this issue.

2 participants