Tag: Warning
-
Post Views: 48 1. Upload pictures in WordPress, prompting: The server cannot process pictures. This happens if the server is busy or does not have enough resources to complete the task. Uploading smaller pictures may help. The recommended maximum size is 2560 pixels. as shown in Figure 1 2. Check the size of the uploaded image is 23 KB, and…
-
Post Views: 20 1. Error: count(): parameter must be an array or an object that implements countable (view: ). as shown in Figure 1 2. Check the code implementation 3. Print $user->address_book, its value is null 4. Adjust the code implementation, when $user->address_book is null, the expression $user->address_book ??[]equivalent to[], otherwise it is $user->address_book. 5. In PHP 7.2.0, when the…
-
Post Views: 19 1. When executing composer install, an error is reported: classPine\BladeFilters\BladeFiltersnot found. as shown in Figure 1 2. Edit composer.json, add “conedevelopment/blade-filters”: “^0.8” 3. When executing again, the prompt: key ConeDevelopment/blade-filters is a duplicate in ./composer.json at line 91. warning: the lock file is not up to date with the latest changes in composer.json. as shown in Figure…
-
Post Views: 15 1. Execute the command: docker exec -i object-mysql mysql -uroot -proot object_store < object_store.sql , error: mysql:[Warning]Using a password on the command line interface can be inspect. as shown in Figure 1 2. Enter the mysql container, view the database Object_store, and display all the tables, response: Empty set (0.00 sec). as shown in Figure 2 3.…
-
Post Views: 19 1. In the channel release, an error is reported: sqlstate[01000]: Warning: 1265 data truncatedPUB_LOG_CODEat row 1. as shown in Figure 1 2. SQL error, the root is the table: cpa_pre_pub_log field: pub_log_code type: int(11), but the inserted value is a string: 42s22. as shown in Figure 2 3. Value: 42s22 is taken from: $e->getCode(). as shown in…
-
Post Views: 14 1. Optimize the composer to automatically load, execute the command: composer dumputoload -o, prompt: deprecation notice: does not comply with PSR-0 autoloading stan Ard. It will not autoload anymore in composer v2.0. As shown in Figure 1 2. After translation, the notification of deprecation: the class does not meet the automatic loading standard of PSR-0. It will…