Home > Article > CMS Tutorial > phpcms v9 537 error report
Phpcms v9 error: date() expects parameter 2 to be long, string given in /phpcms/libs/functions/global.func.php on line 537.
This is usually an error reported after Phpcms v9 migration. It is usually an encoding problem. For example, editing .php files with txt text can easily cause encoding errors.
Solution:
Find the recently modified .php file. If it is a migration, the modified files are often /caches/configs/database.php and /caches/configs/system.php. files, so check the encoding of these two files, or use a professional text editor that is not txt, such as Editplus or dw, and modify it.
The above is the detailed content of phpcms v9 537 error report. For more information, please follow other related articles on the PHP Chinese website!