質問するログイン新規登録

質問編集履歴

3

書式の修正

2020/12/24 05:07

投稿

m2B
m2B

スコア20

title CHANGED
File without changes
body CHANGED
@@ -24,7 +24,8 @@
24
24
  ### 発生している問題・エラーメッセージ
25
25
 
26
26
  ```
27
- Trying to get property 'name' of non-object (View: /var/www/html/laravel/resources/views/meeting/offer.blade.php)```
27
+ Trying to get property 'name' of non-object (View: /var/www/html/laravel/resources/views/meeting/offer.blade.php)
28
+ ```
28
29
 
29
30
  ### 該当のソースコード
30
31
 

2

Controllerの修正

2020/12/24 05:07

投稿

m2B
m2B

スコア20

title CHANGED
File without changes
body CHANGED
@@ -24,8 +24,7 @@
24
24
  ### 発生している問題・エラーメッセージ
25
25
 
26
26
  ```
27
- Undefined property: Illuminate\Database\Eloquent\Relations\BelongsTo::$name
27
+ Trying to get property 'name' of non-object (View: /var/www/html/laravel/resources/views/meeting/offer.blade.php)```
28
- ```
29
28
 
30
29
  ### 該当のソースコード
31
30
 

1

誤字と修正追加 bladeの修正

2020/12/24 04:00

投稿

m2B
m2B

スコア20

title CHANGED
File without changes
body CHANGED
@@ -56,7 +56,7 @@
56
56
  <div class="l-container--content">
57
57
  <div class="l-container--wrapper">
58
58
  <div class="p-member--layout">
59
- <h3 class="p-member--other">{{ $approve->user()->name}}zoom申請</h3>
59
+ <h3 class="p-member--other">{{ $offer->user->name}}zoom申請</h3>
60
60
  <div class="p-member--border">
61
61
  <div class="p-confirm--opponent">
62
62
  <p>申請したユーザー</p>