-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[BUG] Error - Call to undefined LayoutHerlper::isPreloaderEnabled() #1257
Comments
@wbetalleluzd Please see #1256 , probably you published the package views previously and now you need to follow the complete Update Procedure. In other words, you need to update the previously published views in order to synchronize them with the new package version. |
Should this have been a major update rather than a minor? I suppose it's a tricky one where publishing is involved. |
I have reverted the patch version v3.9.5 and released the minor version v3.10.0. |
Oh, we could actually add backward compatibility by adding again On the other hand, if you want to access the new features, the review of previously published views is mandatory. |
There was not any method called isPreloaderEnabled() in vendor\jeroennoten\laravel-adminlte\src\Helpers\LayoutHelper.php /**
* Check if the preloader animation is enabled.
*
* @return bool
*/
public static function isPreloaderEnabled()
{
return config('adminlte.preloader.enabled', false);
} |
@SammyJoseph The method was moved to a new class, due to a split-out refactor, it's now on the
Please, follow the update procedure and update your published views to sync them with the newest package version. |
I solved it with the following: |
@pervilla You should be careful about using |
Closed, a solution to the issue was provided! |
Just updated today.
I comment that and is running now.
The text was updated successfully, but these errors were encountered: