Skip to content

magento man

Cheap Reliable VPS or Stable Shared Hosting?

I am searching a for a cheap and reliable VPS these days, but after searching for 4 days and reading lots of negative reviews, bad offers & … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1916309&goto=newpost

Incompatible argument type: Required type: CustomerApiAccountManagementInterface. Actual type: CustomerApiCustomerRepositoryInterface;

I am using a module for login OTP in magento 2.4.6 but getting this error, while running di:compile. Incompatible argument type: Required type: MagentoCustomerApiAccountManagementInterface. Actual type: MagentoCustomerApiCustomerRepositoryInterface; File: /var/www/html/app/code/Excellence/Sms/Controller/Rewrite/Customer/Account/CreatePost.php please help the File is : <?php namespace ExcellenceSmsControllerRewriteCustomerAccount; use MagentoCustomerModelAccountRedirect… Read More »Incompatible argument type: Required type: CustomerApiAccountManagementInterface. Actual type: CustomerApiCustomerRepositoryInterface;

Magento 2: I need to run observer function through Cron job

I want to run an observer function through a Cron job. Can anyone share the simple observer function.? Here is my code <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Cron:etc/crontab.xsd”> <group id=”default”> <job name=”abandon_cron_test” instance=”AbcAbandonObserverAbandon” method=”execute”> <schedule>* * * * *</schedule> </job> </group> </config> Observer… Read More »Magento 2: I need to run observer function through Cron job

Fatal error: Class ‘MagentoTestFrameworkTestCaseWebapiAbstract’ not found

Hi I’m trying to cxreate an API test for my custom module and I’m getting this error: Fatal error: Class ‘MagentoTestFrameworkTestCaseWebapiAbstract’ not found in /var/www/html/app/code/Wakanda/QuoteApi/Test/Api/CustomerQuoteTest.php on line 8 <?php namespace WakandaQuoteApiTestApi; use MagentoTestFrameworkTestCaseWebapiAbstract; use MagentoFrameworkWebapiRestRequest; class CustomerQuoteTest extends WebapiAbstract {… Read More »Fatal error: Class ‘MagentoTestFrameworkTestCaseWebapiAbstract’ not found