Hevelop / invoice-request

Magento 2 module to generate invoice request field in checkout for italian invoicing
GNU Affero General Public License v3.0
16 stars 12 forks source link

Error Magento 2.4 #23

Open ErikDW1 opened 1 year ago

ErikDW1 commented 1 year ago

Reading my system.log file I find repeatedly this error: `main.CRITICAL: TypeError: Argument 5 passed to Hevelop\InvoiceRequest\Plugin\Checkout\GuestPaymentInformationManagement::beforeSavePaymentInformation() must be an instance of Magento\Quote\Api\Data\AddressInterface, null given, called in /var/www/html/lib/internal/Magento/Framework/Interception/Interceptor.php on line 121 and defined in /var/www/html/vendor/hevelop/invoice-request/Plugin/Checkout/GuestPaymentInformationManagement.php:52 Stack trace:

0 /var/www/html/lib/internal/Magento/Framework/Interception/Interceptor.php(121): Hevelop\InvoiceRequest\Plugin\Checkout\GuestPaymentInformationManagement->beforeSavePaymentInformation()

1 /var/www/html/lib/internal/Magento/Framework/Interception/Interceptor.php(153): Magento\Checkout\Model\GuestPaymentInformationManagement\Interceptor->Magento\Framework\Interception{closure}()

2 /var/www/html/generated/code/Magento/Checkout/Model/GuestPaymentInformationManagement/Interceptor.php(32): Magento\Checkout\Model\GuestPaymentInformationManagement\Interceptor->___callPlugins()

3 [internal function]: Magento\Checkout\Model\GuestPaymentInformationManagement\Interceptor->savePaymentInformation()

4 /var/www/html/app/code/Magento/Webapi/Controller/Rest/SynchronousRequestProcessor.php(95): call_user_func_array()

5 /var/www/html/app/code/Magento/Webapi/Controller/Rest.php(188): Magento\Webapi\Controller\Rest\SynchronousRequestProcessor->process()

6 /var/www/html/lib/internal/Magento/Framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Rest->dispatch()

7 /var/www/html/lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Rest\Interceptor->___callParent()

8 /var/www/html/lib/internal/Magento/Framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Rest\Interceptor->Magento\Framework\Interception{closure}()

9 /var/www/html/generated/code/Magento/Webapi/Controller/Rest/Interceptor.php(23): Magento\Webapi\Controller\Rest\Interceptor->___callPlugins()

10 /var/www/html/lib/internal/Magento/Framework/App/Http.php(116): Magento\Webapi\Controller\Rest\Interceptor->dispatch()

11 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch()

12 /var/www/html/lib/internal/Magento/Framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()

13 /var/www/html/pub/index.php(29): Magento\Framework\App\Bootstrap->run()

14 {main}`

Can yo help me with this?