排查 InvalidArgumentException: Query string must not include a URI fragment 错误​ 列印

  • 0

症状​

启用错误日志后,系统活动日志中出现:

 
 
InvalidArgumentException: Query string must not include a URI fragment in /路径/whmcs/vendor/zendframework/zend-diactoros/src/Uri.php:386
 
 

​解决方案​

  1. ​无需操作​​:

    此错误由爬虫访问无效URL触发,系统行为正常

  2. ​关闭错误日志​​:

    前往 ​​配置 > 系统设置 > 常规设置 > 其他​​ 停用 ​​Log Errors​

    ⚠️ 仅需在故障排查时启用错误日志


这篇文章有帮助吗?

« 返回

Powered by WHMCompleteSolution