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.
Attachments
{!! Theme::js('js/plugins.js') !!}
well, in fact i haven’t added any files to my sustom theme, i just tried to extend existing theme and see if it works, should i add some js,css or other files to make it work ? my current custom theme folder only has one file which is theme.json
any solution?
Hello, If you activate the main theme is, do you have any issues?
no issues with the main theme, it’s just the custom theme that’s not working.
i’m extending corals-ecommerce-mimity.
i believe it has something to do with this line
“return sprintf(”, $this->url($href));”
when i comment it, it works, but of course then i miss the js files.
Please send us ftp access and application login to info@laraship.com
please check the email i sent you
still no fixes.. i’m quite disappointed with the customer service
Please login or Register to submit your answer
Hello,
Can you attach the log file for us, please
Sure, uploaded it
ok so it seems like i have no problem extending admin theme, but the problem arises when i extended frontend theme.
please help me fix this quick