Call to undefined method Illuminate\Foundation\Application::bindShared()

后端 未结 5 1496
迷失自我
迷失自我 2021-02-19 01:05

I\'ve just upgraded Laravel from 5.0 to 5.1.

I get this error:

Call to undefined method Illuminate\\Foundation\\Application::bindShared()
5条回答
  •  醉酒成梦
    2021-02-19 01:36

    Okay based on your comment I see your issue (I should have noticed it sooner as you do mention the HTML component in your question.

    The illuminate/html component is no longer part of Laravel proper, and hasn't yet been updated to conform to 5.1 standards. In fact, I'm pretty sure it is now officially abandoned by Taylor.

    However, you can replace the illuminate/html requirement with laravelcollective/html - that's the official community takeover of illuminate/html and should be a drop-in replacement.

    No having to mess with stuff in vendor!

提交回复
热议问题