gpt4 book ai didi

php7 :error pid 12451 PHP Fatal error: require(): Failed opening required

转载 作者:行者123 更新时间:2023-12-04 18:48:58 28 4
gpt4 key购买 nike

[php7:error] [pid 12451] [client 90.165.75.239:54526] PHP Fatal error:  require(): Failed opening required '/var/www/midser/vendor/composer/../codedge/laravel-selfupdater/src/helpers.php' (include_path='.:/usr/share/php') in /var/www/midser/vendor/composer/autoload_real.php on line 66
每当我尝试启动并运行我的网站时都会出现此错误。这导致浏览器给我这个错误:
HTTP ERROR 500
有谁知道为什么会导致这个错误?非常感谢!任何帮助我都会很感激。服务器在 Laravel 和 ubuntu 上运行,带有 apache。

最佳答案

尝试通过运行使用 composer 更新您的依赖项

composer update
然后运行:
composer dump-autoload
问题是由包引起的: codedge/laravel-selfupdater
要么删除它并重新安装它,要么使用 Composer 更新它(上面的解决方案),我建议删除它并重新安装它

关于php7 :error pid 12451 PHP Fatal error: require(): Failed opening required,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66611856/

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