magento 2.3.5 p1 前端正常,后台登录表单提交直接 500

magento 2.3.5 p1 前端正常,后台登录表单提交直接 500

前端各个功能正常,后台登录页可显示,一提交表单即返回 HTTP ERROR 500

发表新评论

已解决

是扩展不适配我的magento 版本,删除app/code/magenfan/xxx扩展文件夹,然后升级您的数据库重新索引

bin/magento setup:upgrade

php bin/magento cache:clean
php bin/magento indexer:reindex
php bin/magento setup:static-content:deploy

0

看下项目目录下的var/log/exception.log和var/log/system.log有没有什么具体的报错。

然后再根据报错去解决问题

发表新评论

system.log
main.ERROR: Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated:
Magefan_Community schema: current version - 2.0.12, required version - 2.1.10
Magefan_Community data: current version - 2.0.12, required version - 2.1.10 [] []

exception.log
main.CRITICAL: The contents from the "/home/customer/www/example.com/public_html/app/code/Magefan/GoogleTagManager/etc/module.xml" file can't be read. Warning!file_get_contents(/home/customer/www/example.com/public_html/app/code/Magefan/GoogleTagManager/etc/module.xml): failed to open stream: No such file or directory {"report_id":"example4","exception":"[object] (Magento\Framework\Exception\FileSystemException(code: 0): The contents from the "/home/customer/www/example.com/public_html/app/code/Magefan/GoogleTagManager/etc/module.xml" file can't be read. Warning!file_get_contents(/home/customer/www/example.com/public_html/app/code/Magefan/GoogleTagManager/etc/module.xml): failed to open stream: No such file or directory at /home/customer/www/example.com/public_html/vendor/magento/framework/Filesystem/Driver/File.php:151)"00} []

是数据库需要更新,还是我添加的扩展读取不到0.0

0
您正在查看1个回答中的1个,单击此处查看所有回答。