Closed jbrhel closed 4 days ago
After updating to version 7.2, I am getting the following error: Call to undefined method Statamic\Auth\File\User::published()
Call to undefined method Statamic\Auth\File\User::published()
The problem is in the call on the line: statamic-rad-pack/runway/src/Actions/Publish.php(25)
statamic-rad-pack/runway/src/Actions/Publish.php(25)
I have to mention that I'm using two types of auth guards defined in config/auth.php:
config/auth.php
'guards' => [ 'web' => [ 'driver' => 'session', 'provider' => 'users', ], 'statamic' => [ 'driver' => 'session', 'provider' => 'statamic', ] ],
The web guard (users provider) is the one I'm controlling using Runway config/runway.php.
config/runway.php
'resources' => [ \App\Models\User::class => [ 'name' => 'Attendees', 'cp_icon' => 'user', ], ],
Environment Application Name: Statamic Laravel Version: 11.13.0 PHP Version: 8.3.8 Composer Version: 2.7.7 Environment: local Debug Mode: ENABLED URL: teloclick.cz.test Maintenance Mode: OFF Timezone: Europe/Prague Locale: cs
Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED
Drivers Broadcasting: null Cache: redis Database: mysql Logs: stack / rollbar, single Mail: smtp Queue: sync Session: file
Statamic Addons: 1 Sites: 1 Stache Watcher: Disabled Static Caching: Disabled Version: 5.11.0 PRO
Statamic Addons statamic-rad-pack/runway: 7.2.0
Released as part of v7.5.2.
Description
After updating to version 7.2, I am getting the following error:
Call to undefined method Statamic\Auth\File\User::published()
The problem is in the call on the line:
statamic-rad-pack/runway/src/Actions/Publish.php(25)
Steps to reproduce
I have to mention that I'm using two types of auth guards defined in
config/auth.php
:The web guard (users provider) is the one I'm controlling using Runway
config/runway.php
.Environment
Environment Application Name: Statamic Laravel Version: 11.13.0 PHP Version: 8.3.8 Composer Version: 2.7.7 Environment: local Debug Mode: ENABLED URL: teloclick.cz.test Maintenance Mode: OFF Timezone: Europe/Prague Locale: cs
Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED
Drivers Broadcasting: null Cache: redis Database: mysql Logs: stack / rollbar, single Mail: smtp Queue: sync Session: file
Statamic Addons: 1 Sites: 1 Stache Watcher: Disabled Static Caching: Disabled Version: 5.11.0 PRO
Statamic Addons statamic-rad-pack/runway: 7.2.0