Errors reported under PHP 7.1.12 and Yii Framework/1.1.16: PHP Notice Unserialize(): Unexpected End of Serialized Data The solution of
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 6
7. Follow the instructions to solve the problem, upgrade the Yii Framework to 1.1.19, as shown in Figure 7
8. Delete the framework directory in the program, and copy the downloaded framework directory to the program, as shown in Figure 8
9. After the upgrade, the problem is solved.







