简体   繁体   中英

htmlspecialchars() throwing an error

I have installed elgg and none of the links work. In the error log, I see a slew of these error messages:

htmlspecialchars() expects at most 3 parameters, 4 given

You need PHP 5.2.3 or later. That's when the 4th parameter to htmlspecialchars was added.

5.2.3 was released over 5 years ago!! So how old is your PHP version???

The current old version is 5.3.16 and 5.4.6 is the version you should really use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM