What is the mistake in my parameter?
protected function _construct()
{
$this->_init("sync/queue", "id");
}
My sync/queue
->
I get
Warning: array_values() expects parameter 1 to be array, object given
in
C:\xampp\htdocs\magento2x_2\lib\internal\Magento\Framework\Interception\Interceptor.php
on line 146
Best Answer
This error is caused from Plug-in configuration from your custom Module, Not the _construct().
Assume you have used Plug-in and missed some method in your module.
Expected the breaking.
Hope this helps.