设置旧的Symfony项目1.4版后出现错误:
500 |内部服务器错误| Doctrine_Record_UnknownPropertyException 未知记录属性/“设置”堆栈上的相关组件“数组” 在()中追踪 SF_ROOT_DIR / lib / vendor / symfony / lib / plugins / sfDoctrinePlugin / lib / vendor / doctrine / Doctrine / Record / Filter / Standard.php 55行... * /
public function filterGet(Doctrine_Record $record, $name) { throw new Doctrine_Record_UnknownPropertyException(sprintf('Unknown record
“%s”上的属性/相关组件“%s”',$ name, get_class($ record)));
}
}
在Doctrine_Record_Filter_Standard-> filterGet(object('Setting'), “数组”) SF_ROOT_DIR / lib / vendor / symfony / lib / plugins / sfDoctrinePlugin / lib / vendor / doctrine / Doctrine / Record.php 第1395行...位于Doctrine_Record-> _ get('Array',1)中 SF_ROOT_DIR / lib / vendor / symfony / lib / plugins / sfDoctrinePlugin / lib / vendor / doctrine / Doctrine / Record.php 第1350行...在Doctrine_Record-> get('Array')中 SF_ROOT_DIR / lib / vendor / symfony / lib / plugins / sfDoctrinePlugin / lib / vendor / doctrine / Doctrine / Access.php 第72行...位于以下位置的Doctrine_Access-> __ get('Array') SF_ROOT_DIR / lib / vendor / symfony / lib / plugins / sfDoctrinePlugin / lib / vendor / doctrine / Doctrine / Query / Abstract.php 第1121行...在Doctrine_Query_Abstract-> _ preQuery(array('component' => array('table'=> object('SettingTable'),'map'=> null),'alias'=>'s'))在 SF_ROOT_DIR / lib / vendor / symfony / lib / plugins / sfDoctrinePlugin / lib / vendor / doctrine / Doctrine / Query / Abstract.php 第1008行...在Doctrine_Query_Abstract-> execute(array(),3)中 SF_ROOT_DIR / lib / vendor / symfony / lib / plugins / sfDoctrinePlugin / lib / vendor / doctrine / Doctrine / Query.php 第267行...位于Doctrine_Query-> fetchArray() SF_ROOT_DIR / plugins / ppCMSPlugin / lib / model / doctrine / PluginSettingTable.class.php 第23行...位于PluginSettingTable-> ppCache()