私のエラーが見つかりました。私はローカルプールのインデックスにモデルを追加したかったのです。今
<index>
<class>MyModule_Index_Model</class>
<resourceModel>index_resource</resourceModel>
</index>
<index_resource>
<class>MyModule_Index_Model_Resource</class>
<entities>
<process_store_status>
<table>mymodule_index_process_store_status</table>
</process_store_status>
</entities>
</index_resource>
とクラスMyModule_Index_Model_Process
代わりにMage_Index_Model_Process
のためのMagentoの検索:私はそのような私のconfig.xmlのコードを持っていました。にもかかわらず、私はそのクラスを書き換えるためのコードは一行もありません。コードを
<mymodule_index>
<class>MyModule_Index_Model</class>
<resourceModel>index_resource</resourceModel>
</mymodule_index>
<mymodule_index_resource>
<class>MyModule_Index_Model_Resource</class>
<entities>
<process_store_status>
<table>mymodule_index_process_store_status</table>
</process_store_status>
</entities>
</mymodule_index_resource>
に変更しました。すべて正常に動作します。
使用しているMagentoのバージョンは何ですか?あなたはコア修正をしましたか?コアをオーバーライドするローカル修正を行ったことがありますか? 他にどのモジュールがインストールされていますか?キャッシュをクリアしましたか?非常に多くの質問! –
1.9、いいえ、確かにこのクラスではなく、 'getModel'をオーバーライドする変更はありません。多くのモジュールは、私たちの会社や他の人が書きました。 –