-
-
Notifications
You must be signed in to change notification settings - Fork 227
Closed
Milestone
Description
Winter CMS Build
dev-develop
PHP Version
8.1
Database engine
MySQL/MariaDB
Plugins installed
Wintercms.Pages, Wintercms.Sitemap, Wintercms.Notify, Wintercms.Redirect
Issue description
/**
* Get the theme's datasource
*/
public function getDatasource(): AutoDatasource
{
$resolver = App::make('halcyon');
return $resolver->datasource($this->getDirName());
}Cms\Classes\Theme::getDatasource(): Return value must be of type Cms\Classes\AutoDatasource, Winter\Storm\Halcyon\Datasource\FileDatasource returned
Steps to replicate
- Create new theme in console
artisan create:theme example - Activate new theme in backend (and DO NOT change anything in "Customize theme" or click on the button "Reset to default")
- Go to main page
Workaround
No response
Metadata
Metadata
Assignees
Labels
No labels