Closed ibnsultan closed 1 month ago
Try updating all your leaf deps to their latest versions and then using this updated config https://github.com/leafsphp/leafMVC/blob/v3.x/config/view.php
results to another error Call to a member function configure() on null
https://github.com/leafsphp/leafMVC/blob/v3.x/config/view.php
'config' => function ($config) {
\Leaf\Config::get('views.blade')->configure($config['views'], $config['cache']);
},
Hmm weird, it shouldn't break. But anyway you can fix this by updating your public/index.php file. Replace the line where you attach blade with this
Leaf\Config::attachView(\Leaf\Blade::class);
The issue's been resolved
The new release is breaking app the mvc apps, it results to fatal error
Error:
Call to a member function make() on null
File: src\Blade.php Line: 41