Home  >  Article  >  CMS Tutorial  >  phpcms v9 537 error report

phpcms v9 537 error report

尚
Original
2019-11-01 11:07:223064browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn