Theme customization error

Laraship QuestionsCategory: TechnicalTheme customization error
buddydev93 asked 4 years ago

so i tried to customize a frontend theme by executing the php artisan theme:create command.
and when i activated the theme and navigate to the page i got Object of class Illuminate\Routing\UrlGenerator could not be converted to string error.
can anyone help fix it soon please? thanks.

1 Answers
laraship Staff answered 4 years ago
Hello, Looks like in your custom theme you're calling the js function with non-string variable like url(), you should only pass the string there like  
{!! Theme::js('js/plugins.js') !!}