Getting error during cloud deployment
Hello Team,
Deployment is failed and getting error. Please check the following error.
WeltPixel/GA4/
It seems some required argument is missing for explode function and it throws errors.
[2022-12-14T07:04:27.038060+00:00] ERROR: [127] The command "php ./bin/magento cache:flush --ansi --no-interaction" failed. explode(): Argument #2 ($string) must be of type string, array given#0 /app/zga5bv7cn44tu/app/code/WeltPixel/GA4/Helper/ServerSideTracking.php(65): explode(',', Array)
#1 /app/zga5bv7cn44tu/app/code/WeltPixel/GA4/Helper/ServerSideTracking.php(73): WeltPixel\GA4\Helper\ServerSideTracking->getTrackedEvents()
#2 /app/zga5bv7cn44tu/app/code/WeltPixel/GA4/Plugin/ServerSide/FlushCache.php(39): WeltPixel\GA4\Helper\ServerSideTracking->shouldEventBeTracked('view_item_list')
#3 /app/zga5bv7cn44tu/vendor/magento/framework/Interception/Interceptor.php(146): WeltPixel\GA4\Plugin\ServerSide\FlushCache->afterFlush(Object(Magento\Framework\App\Cache\Manager\Interceptor), NULL, Array)
#4 /app/zga5bv7cn44tu/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Cache\Manager\Interceptor->Magento\Framework\Interception\{closure}(Array)
#5 /app/zga5bv7cn44tu/generated/code/Magento/Framework/App/Cache/Manager/Interceptor.php(23): Magento\Framework\App\Cache\Manager\Interceptor->___callPlugins('flush', Array, Array)
#6 /app/zga5bv7cn44tu/vendor/magento/module-backend/Console/Command/CacheFlushCommand.php(36): Magento\Framework\App\Cache\Manager\Interceptor->flush(Array)
#7 /app/zga5bv7cn44tu/vendor/magento/module-backend/Console/Command/AbstractCacheTypeManageCommand.php(62): Magento\Backend\Console\Command\CacheFlushCommand->performAction(Array)
#8 /app/zga5bv7cn44tu/vendor/symfony/console/Command/Command.php(255): Magento\Backend\Console\Command\AbstractCacheTypeManageCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /app/zga5bv7cn44tu/vendor/magento/framework/Interception/Interceptor.php(58): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /app/zga5bv7cn44tu/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Backend\Console\Command\CacheFlushCommand\Interceptor->___callParent('run', Array)
#11 /app/zga5bv7cn44tu/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Backend\Console\Command\CacheFlushCommand\Interceptor->Magento\Framework\Interception\{closure}(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /app/zga5bv7cn44tu/generated/code/Magento/Backend/Console/Command/CacheFlushCommand/Interceptor.php(23): Magento\Backend\Console\Command\CacheFlushCommand\Interceptor->___callPlugins('run', Array, Array)
#13 /app/zga5bv7cn44tu/vendor/symfony/console/Application.php(1021): Magento\Backend\Console\Command\CacheFlushCommand\Interceptor->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /app/zga5bv7cn44tu/vendor/symfony/console/Application.php(275): Symfony\Component\Console\Application->doRunCommand(Object(Magento\Backend\Console\Command\CacheFlushCommand\Interceptor), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /app/zga5bv7cn44tu/vendor/magento/framework/Console/Cli.php(115): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /app/zga5bv7cn44tu/vendor/symfony/console/Application.php(149): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /app/zga5bv7cn44tu/bin/magento(23): Symfony\Component\Console\Application->run()
Please resolve it on priority and update the status.
Thanks
Mohd Bashir
Please sign in to leave a comment.
Comments
0 comments