Author: 永夜
-
Post Views: 59 1. Prompt in Postman: Connection error we were unable to establish a websocket connection with our servers. Please retry. If the issue Persiss, check your network settings to ensure that websocket connections are allowed. 2. Reference: https://github.com/postmanlabs/postman-app-support/issues/9487 . The old account cannot be connected after login, but the new account can be connected. 3. Decide to log…
-
Post Views: 19 1. In Laravle 6’s database migration, the data table option does not support adding comments. as shown in Figure 1 2. Reference:https://stackoverflow.com/questions/37493431/how-to-add-comment-to-table-not-column-in-laravel-5-migration. How to add comment to table (not column) in Laravel 5 migration? 3. The final realization is as follows 4. After performing the database migration, check the execution results, and the table comments have been…
-
Post Views: 22 1. Check the existing code, which is implemented based on the function app. The app function returns the service container instance. Unable to jump to the corresponding method by clicking getByName() . as shown in Figure 1 2. Refer to the automatic injection of the service container. You can simply inject the dependencies that require container resolution,…
-
Post Views: 16 1. In the Git-based operation, branch A is behind B, and A will advance to B quickly. Click the button to start (fast forward). as shown in Figure 1 2. When changing the base again, it prompts: no need to change the base, A is equivalent to B. as shown in Figure 2 3. Check the git…
-
Post Views: 16 1. The performance of the web page is that when the request parameter is input:\, the response is 200, which in turn causes the response to 500 when the template is rendered. as shown in Figure 1 2. View the corresponding logs in the Alibaba Cloud Log Service SLS, and report an error when parsing the JSON…
-
Post Views: 20 1. Check the existing implementation code as follows: 2. Check the print results before and after the multidimensional array index. Use the value of the name column in the array as the new key. as shown in Figure 1 3. However, just using the function array_column is enough to achieve. When column_key is null, the entire array…
-
Post Views: 15 1. Lighthouse uses a lot of SDL and uses mode instructions. In order to improve your editing experience, you can use the artisan command to generate a definition file. Error: Illuminate\Contracts\Container\BindingResolutionException : target[Modules\ThemeStore\View\ViewStorageInterface]Is not instantiable while building[Modules\ThemeStore\Resolver\OnlineStoreThemeResolver]. as shown in Figure 1 2. Execute the command: php artisan module:list to display a list of all modules. Confirm…
-
Post Views: 15 1. When executing: composer install, it prompts: key condevelopment/blade-filters is a duplicate in ./composer.json at line 91. as shown in Figure 1 2. Reference:https://www.shuijingwanwq.com/2022/04/19/6307/. At that time, there was no need to edit composer.json, and add “conedevelopment/blade-filters”: “^0.8”. Delete this line to avoid duplication. 3. Refer to Warning, execute Composer Update ConedEvelopment/blade-filters. as shown in Figure 2…