You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.
Declaration of Wpb\StringBladeCompiler\StringView::render(?Closure $callback = NULL) must be compatible with Illuminate\View\View::render(?callable $callback = NULL)
Trace:
#0 {main}
I digged into it and realized that the master branch is quite old and current version of that dependency does no longer have a render() method, so, as a "quick and dirty hack", I asked her to replace Closure with callable.
The text was updated successfully, but these errors were encountered:
Declaration of Wpb\StringBladeCompiler\Compilers\StringBladeCompiler::compile($path) must be compatible with Illuminate\View\Compilers\BladeCompiler::compile($path = NULL)
Trace:
#0 {main}
After changing both it seems to work.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A customer asked me for help, don't know if this is used in the Ducksell core or a plugin. Here's the stack trace:
Exception: Symfony\Component\Debug\Exception\FatalErrorException
Declaration of Wpb\StringBladeCompiler\StringView::render(?Closure $callback = NULL) must be compatible with Illuminate\View\View::render(?callable $callback = NULL)
Trace:
#0 {main}
I digged into it and realized that the master branch is quite old and current version of that dependency does no longer have a render() method, so, as a "quick and dirty hack", I asked her to replace Closure with callable.
The text was updated successfully, but these errors were encountered: