亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Symofny 5 ParamConverter 更新后損壞

Symofny 5 ParamConverter 更新后損壞

PHP
隔江千里 2023-06-30 16:23:57
最后的作曲家更新完全破壞了我基于 Symfony5 的項目:php.CRITICAL: Uncaught Error: Argument 1 passed to Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry or null, instance of Doctrine\Bundle\DoctrineBundle\Registry given根據 Symfony 文檔,我很久以前就已經將 Doctrine\Bundle\DoctrineBundle\Registry 的所有引用更新為 Doctrine\Common\Persistence\ManagerRegistry任何幫助,將不勝感激已安裝的軟件包列表:beberlei/doctrineextensions          v1.2.6   cmen/google-charts-bundle            3.2.1    craue/formflow-bundle                3.3.2    doctrine/annotations                 1.10.3   doctrine/cache                       1.10.1   doctrine/collections                 1.6.5    doctrine/common                      2.13.3   doctrine/data-fixtures               1.4.3    doctrine/dbal                        2.10.2   doctrine/doctrine-bundle             2.1.0    doctrine/doctrine-fixtures-bundle    3.3.1    doctrine/event-manager               1.1.0    doctrine/inflector                   1.4.3    doctrine/instantiator                1.3.1    doctrine/lexer                       1.2.1    doctrine/orm                         v2.7.3   doctrine/persistence                 1.3.7    doctrine/reflection                  1.2.1    doctrine/sql-formatter               1.1.0    easycorp/easyadmin-bundle            v2.3.9   egulias/email-validator              2.1.18   friendsofsymfony/ckeditor-bundle     2.2.0    friendsofsymfony/jsrouting-bundle    2.6.0    guzzlehttp/guzzle                    6.5.5    guzzlehttp/promises                  v1.3.1   guzzlehttp/psr7                      1.6.1    helios-ag/fm-elfinder-bundle         10.0.4   incenteev/composer-parameter-handler v2.1.4   
查看完整描述

2 回答

?
小唯快跑啊

TA貢獻1863條經驗 獲得超2個贊

同樣的事情也發生在我身上。只需運行命令composer update



查看完整回答
反對 回復 2023-06-30
?
慕工程0101907

TA貢獻1887條經驗 獲得超5個贊

  1. 將系統上的 Php 版本更新到 7.4

  2. 運行作曲家升級


查看完整回答
反對 回復 2023-06-30
  • 2 回答
  • 0 關注
  • 168 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號