beautymail.css not found
MichaelVoelkel opened this issue · 2 comments
array_merge(): Expected parameter 1 to be an array, null given
in BeautyMailServiceProvider.php:
public function register()
{
$this->app->singleton('Snowfire\Beautymail\Beautymail',
function ($app) {
return new \Snowfire\Beautymail\Beautymail(
array_merge(
config('beautymail.view'),
[
'css' => !is_null(config('beautymail.css')) && count(config('beautymail.css')) > 0 ? implode(' ', config('beautymail.css')) : '',
]
)
);
});
}
Yeah, where show beautymail.css be? I used this vendor publish command but it moves something into public/vendor/beautymail/... and this seems not helpful.
idk if you're still facing this issue, but it's complaining about the first parameter of array_merge
, which in this case is config('beautymail.view')
.
This is null
because you probably haven't published the configuration yet; try php artisan vendor:publish --provider="Snowfire\Beautymail\BeautymailServiceProvider"
. If you have done that already, is config/beautymail.php
present, and if so, what's in it?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.