Support the ongoing development of Laravel.io →
posted 9 years ago
Blade
Last updated 2 years ago.
0

just use html man.. personally i don't like using blade. it's an extra overhead to the server and you need to learn another syntax/language to reduce just a few characters in the code.

Last updated 9 years ago.
0
Solution

It looks like Html alias is assigned to FormBuilder instead of HtmlBuilder. To check that run this command in php artisan tinker:

Html::image();

It should yield an error like this:

PHP warning:  Missing argument 1 for Illuminate\Html\HtmlBuilder::image()...

If it's FormBuilder instead of HtmlBuilder in the error message, check that you have correct alias in config/app.php.

Last updated 9 years ago.
0

@Xum Yupp you are correct, thank you for your help.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.