gpt4 book ai didi

php - 如何关闭 laravel Debug模式

转载 作者:行者123 更新时间:2023-12-02 00:05:39 28 4
gpt4 key购买 nike

我在日志文件中收到此错误。问题出在 CMS 中,我尝试停用 debu-mod。但我不会关闭。

在日志中我收到此错误消息,我认为这就是它不会关闭的原因。

production.ERROR: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'option_id' cannot be null in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:449

谢谢你的帮助:)

最佳答案

.env 文件中将 APP_DEBUG=true 设置为 APP_DEBUG=false 以关闭生产模式下的调试消息。

关于php - 如何关闭 laravel Debug模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60716263/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com