Category: Laravel 6
-
Post Views: 17 1. In Laravel Telescope, the page has been in Scanning…. View the network, tableObject_Store.teleScope_Entriesdoesn’tt exist. as shown in Figure 1 2. Run the migrate command: 3. Refresh the page, the response is 200. as shown in Figure 2
-
Post Views: 15 1. When writing the automated test cases of Lighthouse 5, phpstorm cannot be completed automatically. When you click $response->assetJSON, you cannot find the statement you want to go to. fashionAssertJSONNot found in \illuminate\testing\testResponse. as shown in Figure 1 2. Print the $response object, its actual path is:\illuminate\foundation\testing\testResponse. as shown in Figure 2 3. In another project, phpstorm…
-
Post Views: 17 1. In Laravel 6, access:https://object.local, 302 jump tohttps://xxx.xxx.xxx.top. as shown in Figure 1 2. Look in the source code: xxx.xxx.xxx.top, not found. And the database has replaced all xxx.xxx.xxx.top with Object.local. 3. There is a key name in Redis: laravel_cache:main_domain_cache, its value: s:26:”xxx.xxx.xxx.top”;. as shown in Figure 2 4. After clearing Redis, visit again:https://object.local, the response 500.…
-
Post Views: 14 1. When executing php artisan package:discover –ansi, the error: please install the elasticsearch php client: Elasticsearch/Elasticsearch. as shown in Figure 1 2. The reason is that the package tamayo/laravel-scout-elastic needs to install Elasticsearch/elasticsearch. However, before executing the command composer require nuwave/lighthouse, the command is also executed: php artisan package:discover –ansi, no error is reported. as shown in…
-
Post Views: 18 1. When writing the automated test cases of Lighthouse 5, phpstorm cannot be completed automatically. When you click $response->assetJSON, you cannot find the statement you want to go to. fashionAssertJSONNot found in \illuminate\testing\testResponse. as shown in Figure 1 2. Print the $response object, its actual path is:\illuminate\foundation\testing\testResponse. as shown in Figure 2 3. In another project, phpstorm…
-
Post Views: 19 1. When writing the automated test case of Lighthouse 5, split a test method into two test methods. The present stage is a method 2, split into two methods 3. Run the test and report an error: Error: Error: call to undefined method illuminate\support\facades\config::set(). as shown in Figure 1 4. At this time, if any of the…
-
Post Views: 16 1. When running the test case of lighthouse, an error is reported: classoverTrue\LaravelVersionABLE\ServiceProvidernot found. as shown in Figure 1 2. Search the class in the IDE: overtrue\LaravelVelVersionable\ServiceProvider, not found. as shown in Figure 2 3. Find the code in the project: LaravelVersionable, find the file /bootstrap/cache/packages.phpunit.php exists in: overtrue\\LaravelVersionable\\ServiceProvider . as shown in Figure 3 4. View…
-
Post Views: 23 1. Error when running phpunit in Laravel 6: php fatal error: allow memory size of 1073741824 bytes exhausted (Tried to allocate 69632 bytes). as shown in Figure 1 2. Edit the php.ini file and set memory_limit = 4096M. Previously Memory_Limit = 1024M. It will not prompt again that the memory usage is too limited. 3. When running…