I am trying to get data from database table, my code of index.php <?php namespace DemoHelloworldControllerPost; class Index extends MagentoFrameworkAppActionAction { protected $_postFactory; public function __construct( MagentoFrameworkAppActionContext $context, MagentoFrameworkViewResultPageFactory $pageFactory, PixelproHelloworldModelPostFactory $postFactory ) { $this->_pageFactory = $pageFactory; $this->_postFactory = $postFactory; return parent::__construct($context); } public function execute() { $post = $this->_postFactory->create(); […]