Linked Questions
23 questions linked to/from Magento 2: Replacement for Mage::log method?
2
votes
1
answer
752
views
Magento 2: Checkout afterplace order plugin not working
Im creating a Magento 2 checkout plugin, I want to fetch the orderdata and send it to a third party for order handling.
I have made a plugin for the Magento\Sales\Api\OrderManagementInterface class, ...
2
votes
1
answer
565
views
Magento 2.1:- Create Plugin but not working in custom module
I create plugin in my custom module to override the method collectCarrierRates($carrierCode, $request), below code is not working.
What mistake here?
app/code/Vendor/Shippingtest/etc/frontend/di.xml
...
0
votes
2
answers
782
views
Magento 2 - Create a log file in plugin that will print log when data is inserted in database
I have entered data in the database using object Manager in Model file itself. I want to print a log file from the plugin that will print the log of the last data that is inserted in the database.
1
vote
4
answers
168
views
Magento 2 - How to add logs inside module
I have added like below way. But it doesn't work for that module
use Psr\Log\LoggerInterface;
/**
* @var LoggerInterface
*/
protected $logger;
protected $resultForwardFactory;
public function ...
1
vote
1
answer
918
views
How to run cron file via browser in magento2
I have created a logic that look seems fine if I run that via controller file. But I am getting an error while running via cron (checked via log file), using magento2 cron process.
ModuleName/Cron/...
1
vote
1
answer
171
views
How to implement the following event in Magento : As soon as the customer logs in the details are printed in the log file [duplicate]
I have to print the login details of the customer and when he logged in, into the log file. How to implement the following problem in Magento 2.
1
vote
1
answer
159
views
magento 2 how to print log
After installing Magento 2.3, When I am trying to open the admin panel login screen is blank and my console contains an error as shown in the image. if anyone has a solution then please let me know.
...
0
votes
2
answers
28
views
What is the query readers here i can't understand magento 2.3
I can't find the what query rendes here and i can't it is not readable so any can to find what query renders hear please tell what are the table involved here
public function getCount(\Magento\...