Please HELP #45840
Unanswered
iospoisson
asked this question in
Q&A
Please HELP
#45840
Replies: 2 comments
-
well, it says it is trying to use a variable which is not defined. what is your code where you return the view? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You should make sure that the ...
$data['vendor'] = Vendor::first(); // example
return view('hotel-rooms', $data);
... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone ,I am trying to change the layout of my booking page to get 2 responsive buttons one for phone and another one for whatsup
this is the original working code
if i change to
i get
500 Server Error
the log shows this
Undefined variable $vendor {"view":{"view":"/home/acasalanoi/infoturist.acasalanoi.ro/themes/Mytravel/Hotel/Views/frontend/layouts/details/hotel-rooms.blade.php","data":{"errors":"<pre class=sf-dump id=sf-dump-983699632 data-indent-pad=\" \"><span class=sf-dump-note>Illuminate\\Support\\ViewErrorBag</span> {<a class=sf-dump-ref>#1496</a><samp data-depth=1 class=sf-dump-expanded>
what i am doing wrong?
thanks
Beta Was this translation helpful? Give feedback.
All reactions