magento 2.3.5 p1 前端正常,后台登录表单提交直接 500
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
已解决
是扩展不适配我的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