Questions tagged [interceptor]
The interceptor tag has no summary.
65 questions
0 votes
2 answers
130 views
After Upgrade Magento version from 2.3.5 to 2.4.7, an error in the Admin Grid(Custom module) started to appear
After a magento update was made from version 2.3.5 to 2.4.7, an error in my custom module started appearing in the administrator. In the main view inside the administrator shows me the following error:...
1 vote
1 answer
54 views
Plugin for Magento\Setup\Model\ConfigOptionsList::validate
Is it possible to make a plugin for Magento\Setup\Model\ConfigOptionsList::validate()? This function checks the validity of connection to DB and since I am dynamically generating password for DB, I ...
0 votes
1 answer
199 views
Class Demo\Helloworld\Controller\Post\index\Interceptor does not exist
I am trying to get data from a database table, my code of Index.php <?php namespace Demo\Helloworld\Controller\Post; class Index extends \Magento\Framework\App\Action\Action { protected $...
1 vote
1 answer
522 views
There has been an error processing your request: "0":"Unable to serialize value. Error: Malformed UTF-8 characters, possibly incorrectly encoded"
I am attempting to set up my local environment for Magento. When I try to view the front end, I get the following error on the page: There has been an error processing your request Exception printing ...
0 votes
0 answers
121 views
Parameter type seems to be wrong type in preference
I made this two preferences <preference for="Magento\Catalog\Block\Product\ProductList\Toolbar" type="Prj\Catalog\Block\Product\ProductList\Toolbar" /> <preference for=&...
0 votes
0 answers
65 views
Deactivating and reactivating plugins on-the-fly
I am currently developing on a VM with a Ubuntu host machine - it is super slow. I am currently trying to implement a plugin but the magento s:d:c command takes 6 minutes. Within examples for Plugins ...
2 votes
0 answers
53 views
Basic clarity on some magento default function
I had gone through a interview process. They fired some questions below which I don't know answers and couldn't find in google. The questions are below. How to create a object and why we need to ...
0 votes
1 answer
840 views
magento 2 product class extending caused Type Error occurred when creating object: Company\Module\Model\Catalog\Product\Interceptor
https://magenticians.com/override-model-magento-2/ I have followed the above tutorial to extend the Product class to show our custom compatible products with the product that the customer views. ...