質問編集履歴
4
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,11 @@
|
|
14
14
|
|
15
15
|
しかし、下記のようなエラーが発生してしまいました。
|
16
16
|
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
17
|
-
|
21
|
+
php artisan optimize
|
18
22
|
|
19
23
|
Configuration cache cleared!
|
20
24
|
|
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,51 @@
|
|
12
12
|
|
13
13
|
を追加し、xamppのshellに、「php artisan optimize」を実行しました。
|
14
14
|
|
15
|
-
しかし、下記
|
15
|
+
しかし、下記のようなエラーが発生してしまいました。
|
16
|
+
|
17
|
+
# php artisan optimize
|
18
|
+
|
19
|
+
Configuration cache cleared!
|
20
|
+
|
21
|
+
Configuration cached successfully!
|
22
|
+
|
23
|
+
Route cache cleared!
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
LogicException : Unable to prepare route [api/user] for serialization. Uses Closure.
|
28
|
+
|
29
|
+
\htdocs\laravelapp\vendor\laravel\framework\src\Illuminate\Routing\Route.php:917
|
30
|
+
|
31
|
+
913| */
|
32
|
+
|
33
|
+
914| public function prepareForSerialization()
|
34
|
+
|
35
|
+
915| {
|
36
|
+
|
37
|
+
916| if ($this->action['uses'] instanceof Closure) {
|
38
|
+
|
39
|
+
> 917| throw new LogicException("Unable to prepare route [{$this->uri}] for serialization. Uses Closure.");
|
40
|
+
|
41
|
+
918| }
|
42
|
+
|
43
|
+
919|
|
44
|
+
|
45
|
+
920| $this->compileRoute();
|
46
|
+
|
47
|
+
921|
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
Exception trace:
|
52
|
+
|
53
|
+
1 Illuminate\Routing\Route::prepareForSerialization()
|
54
|
+
|
55
|
+
\htdocs\laravelapp\vendor\laravel\framework\src\Illuminate\Foundation\Console\RouteCacheCommand.php:62
|
56
|
+
|
57
|
+
2 Illuminate\Foundation\Console\RouteCacheCommand::handle()
|
58
|
+
|
59
|
+
\htdocs\laravelapp\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:32
|
16
60
|
|
17
61
|
|
18
62
|
|
2
画像消去
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
しかし、下記画像のようなエラーが発生してしまいました。
|
16
16
|
|
17
|
-
|
17
|
+
|
18
18
|
|
19
19
|
とりあえず、エラーは発生したものの、記事内で紹介されていたコマンドをすべて打ち込み、デバッグを行ってみたのですが、「 throw new DecryptException('The payload is invalid.');」こちらのエラーは改善しませんでした。
|
20
20
|
|
1
タグ追加
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|