Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Unable to send mail #6

Open
webbird opened this issue Feb 21, 2019 · 1 comment
Open

Unable to send mail #6

webbird opened this issue Feb 21, 2019 · 1 comment

Comments

@webbird
Copy link

webbird commented Feb 21, 2019

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.

@webbird
Copy link
Author

webbird commented Feb 21, 2019

There's another one:

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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant