用户弃用:在 ORM 3.0 中,AttributeDriver 将报告声明它们的类的字段。这可能会发现无效的映射配置。要立即选择新模式,请将“reportFieldsWhereDeclared”构造函数参数设置为 true。(AttributeDriver.php:82由App_KernelProdContainer.php:175调用,https://github.com/doctrine/orm/pull/10455,包doctrine/orm){“例外”:“[对象](ErrorException(代码:0 ):用户已弃用:在 ORM 3.0 中,AttributeDriver 将报告声明它们的类的字段。(App_KernelProdContainer.php:175 调用的 AttributeDriver.php:82,https: //github.com/doctrine/orm/pull/ 10455 , packagedoctrine/orm) {"exception":"[object] (ErrorException(code: 0): User Deprecated: 在 ORM 3.0 中,AttributeDriver 将报告声明它们的类的字段。这可能会发现无效的映射配置.今天要选择进入新模式,请将“reportFieldsWhereDeclared”构造函数参数设置为 true。(App_KernelProdContainer.php:175 调用的 AttributeDriver.php:82,https: //github.com/doctrine/orm/pull/10455,包学说/规则)
但我还没有找到任何选择
symfony6 ×1