We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP version: 8.3 Magento version: 2.4.7-p2 Klaviyo extension version: 4.2.0 (Latest)
Quotes submission
No exception is generated if product has no media images
[2025-01-09T09:55:19.809356+00:00] main.CRITICAL: Error: Call to a member function getMediaGalleryImages() on null in /var/www/html/vendor/klaviyo/magento2-extension/Model/Reclaim.php:424 Stack trace: #0 /var/www/html/vendor/klaviyo/magento2-extension/Model/Reclaim.php(244): Klaviyo\Reclaim\Model\Reclaim->_getImages() #1 [internal function]: Klaviyo\Reclaim\Model\Reclaim->product() #2 /var/www/html/vendor/magento/module-webapi/Controller/Rest/SynchronousRequestProcessor.php(95): call_user_func_array() #3 /var/www/html/vendor/magento/module-webapi/Controller/Rest.php(201): Magento\Webapi\Controller\Rest\SynchronousRequestProcessor->process() #4 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Rest->dispatch() #5 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Rest\Interceptor->___callParent() #6 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Rest\Interceptor->Magento\Framework\Interception{closure}() #7 /var/www/html/generated/code/Magento/Webapi/Controller/Rest/Interceptor.php(23): Magento\Webapi\Controller\Rest\Interceptor->___callPlugins() #8 /var/www/html/vendor/magento/framework/App/Http.php(116): Magento\Webapi\Controller\Rest\Interceptor->dispatch() #9 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->launch() #10 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent() #11 /var/www/html/vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php(43): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception{closure}() #12 /var/www/html/vendor/magento/module-application-performance-monitor/Profiler/Profiler.php(59): Magento\ApplicationPerformanceMonitor\Plugin\ApplicationPerformanceMonitor->Magento\ApplicationPerformanceMonitor\Plugin{closure}() #13 /var/www/html/vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php(41): Magento\ApplicationPerformanceMonitor\Profiler\Profiler->doProfile() #14 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\ApplicationPerformanceMonitor\Plugin\ApplicationPerformanceMonitor->aroundLaunch() #15 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception{closure}() #16 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http\Interceptor->___callPlugins() #17 /var/www/html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch() #18 /var/www/html/pub/index.php(30): Magento\Framework\App\Bootstrap->run() #19 {main} {"exception":"[object] (Error(code: 0): Call to a member function getMediaGalleryImages() on null at /var/www/html/vendor/klaviyo/magento2-extension/Model/Reclaim.php:424)"} []
as a solution, we have changed vendor/klaviyo/magento2-extension/Model/Reclaim.php by patch
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment details
PHP version: 8.3
Magento version: 2.4.7-p2
Klaviyo extension version: 4.2.0 (Latest)
Steps to reproduce
Quotes submission
Expected result
No exception is generated if product has no media images
Actual result
[2025-01-09T09:55:19.809356+00:00] main.CRITICAL: Error: Call to a member function getMediaGalleryImages() on null in /var/www/html/vendor/klaviyo/magento2-extension/Model/Reclaim.php:424
Stack trace:
#0 /var/www/html/vendor/klaviyo/magento2-extension/Model/Reclaim.php(244): Klaviyo\Reclaim\Model\Reclaim->_getImages()
#1 [internal function]: Klaviyo\Reclaim\Model\Reclaim->product()
#2 /var/www/html/vendor/magento/module-webapi/Controller/Rest/SynchronousRequestProcessor.php(95): call_user_func_array()
#3 /var/www/html/vendor/magento/module-webapi/Controller/Rest.php(201): Magento\Webapi\Controller\Rest\SynchronousRequestProcessor->process()
#4 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Rest->dispatch()
#5 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Rest\Interceptor->___callParent()
#6 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Rest\Interceptor->Magento\Framework\Interception{closure}()
#7 /var/www/html/generated/code/Magento/Webapi/Controller/Rest/Interceptor.php(23): Magento\Webapi\Controller\Rest\Interceptor->___callPlugins()
#8 /var/www/html/vendor/magento/framework/App/Http.php(116): Magento\Webapi\Controller\Rest\Interceptor->dispatch()
#9 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->launch()
#10 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent()
#11 /var/www/html/vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php(43): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception{closure}()
#12 /var/www/html/vendor/magento/module-application-performance-monitor/Profiler/Profiler.php(59): Magento\ApplicationPerformanceMonitor\Plugin\ApplicationPerformanceMonitor->Magento\ApplicationPerformanceMonitor\Plugin{closure}()
#13 /var/www/html/vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php(41): Magento\ApplicationPerformanceMonitor\Profiler\Profiler->doProfile()
#14 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\ApplicationPerformanceMonitor\Plugin\ApplicationPerformanceMonitor->aroundLaunch()
#15 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception{closure}()
#16 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http\Interceptor->___callPlugins()
#17 /var/www/html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()
#18 /var/www/html/pub/index.php(30): Magento\Framework\App\Bootstrap->run()
#19 {main} {"exception":"[object] (Error(code: 0): Call to a member function getMediaGalleryImages() on null at /var/www/html/vendor/klaviyo/magento2-extension/Model/Reclaim.php:424)"} []
Additional information
as a solution, we have changed vendor/klaviyo/magento2-extension/Model/Reclaim.php by patch
The text was updated successfully, but these errors were encountered: