Tag: Unexpected
-
Post Views: 18 1. Error when the program is running: syntax error, unexpected,, expecting]. as shown in Figure 1 2. The code to catch the exception is implemented as follows, and finally find that the exception is not caught 3. Adjust the code implementation, and change the Throwable $E to \Throwable $E. Capture was successful. The log is generated as…
-
Post Views: 11 1. Upgrade the container in Rancher and report an error: /config/init/config0.sh: line 1314: syntax error near unexpected token `}, as shown in Figure 1 2. In phpstorm, edit /config/init/config0.sh, prompt: expected a command. , comment out the corresponding code, as shown in Figure 2 3. The upgrade is successful in Rancher, as shown in Figure 3
-
Post Views: 57 1. Execute Vagrant on Windows 10 and report an error: Vagrant failed to initialize at a very early stage, as shown in Figure 1 2. The reason should be that Vagrant has been updated recently, and Vagrant can be automatically tried by running the following command (remove and reinstall All plugins), follow the prompts to execute the…
-
Post Views: 57 1. Error report: unserialize(): unexpected end of serialized data, as shown in Figure 1 4. Edit \framework\web\CurlManager.php, and print out self::cache_key, as shown in Figure 4 5. Print the result, its value is: yii.curlmanager.rules, as shown in Figure 5 6. Open the URL: https://github.com/yiisoft/yii/issues/4137 and find that there is the same problem, as shown in Figure…