致命错误:未被捕获的错误:在null上调用成员函数dispatch()
Link for complete code. Download from here
我正在学习Magento 2,现在遇到了错误。
当调用我的前端视图块时,这是错误消息。
Fatal error: Uncaught Error: Call to a member function dispatch() on null in C:\wamp64\www\magento2\vendor\magento\framework\Model\ResourceModel\Db\Collection\AbstractCo...