Skip to content
New issue

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

Webkul_AmazonMagentoConnect: «An error occurred on the server. Please try to place the order again.» #85

Open
dmitrii-fediuk opened this issue Dec 28, 2019 · 0 comments
Labels

Comments

@dmitrii-fediuk
Copy link
Contributor

It is always happen right after #75

Step 1

The product is not available: 3859
Array
(
    [0] => Array
        (
            [File] => app/code/Webkul/AmazonMagentoConnect/Helper/Order.php
            [Line] => 183
            [Caller] => Webkul\AmazonMagentoConnect\Helper\Order::createAmazonOrderAtMage
            [Callee] => df_log_l
        )

    [1] => Array
        (
            [File] => app/code/Webkul/AmazonMagentoConnect/Helper/ManageOrderRawData.php
            [Line] => 367
            [Caller] => Webkul\AmazonMagentoConnect\Helper\ManageOrderRawData::manageOrderData
            [Callee] => Webkul\AmazonMagentoConnect\Helper\Order::createAmazonOrderAtMage
        )

    [2] => Array
        (
            [File] => app/code/Webkul/AmazonMagentoConnect/Model/Cron.php
            [Line] => 122
            [Caller] => Webkul\AmazonMagentoConnect\Model\Cron::orderSyncFromAmazon
            [Callee] => Webkul\AmazonMagentoConnect\Helper\ManageOrderRawData::manageOrderData
        )

    [3] => Array
        (
            [File] => 
            [Line] => 
            [Caller] => call_user_func_array
            [Callee] => Webkul\AmazonMagentoConnect\Model\Cron::orderSyncFromAmazon
        )

    [4] => Array
        (
            [File] => vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php
            [Line] => 314
            [Caller] => Magento\Cron\Observer\ProcessCronQueueObserver::_runJob
            [Callee] => call_user_func_array
        )

    [5] => Array
        (
            [File] => vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php
            [Line] => 720
            [Caller] => Magento\Cron\Observer\ProcessCronQueueObserver::processPendingJobs
            [Callee] => Magento\Cron\Observer\ProcessCronQueueObserver::_runJob
        )

    [6] => Array
        (
            [File] => vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php
            [Line] => 240
            [Caller] => Magento\Cron\Observer\ProcessCronQueueObserver::Magento\Cron\Observer\{closure}
            [Callee] => Magento\Cron\Observer\ProcessCronQueueObserver::processPendingJobs
        )

    [7] => Array
        (
            [File] => vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php
            [Line] => 269
            [Caller] => Magento\Cron\Observer\ProcessCronQueueObserver::lockGroup
            [Callee] => Magento\Cron\Observer\ProcessCronQueueObserver::Magento\Cron\Observer\{closure}
        )

    [8] => Array
        (
            [File] => vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php
            [Line] => 241
            [Caller] => Magento\Cron\Observer\ProcessCronQueueObserver::execute
            [Callee] => Magento\Cron\Observer\ProcessCronQueueObserver::lockGroup
        )

    [9] => Array
        (
            [File] => vendor/magento/framework/Event/Invoker/InvokerDefault.php
            [Line] => 72
            [Caller] => Magento\Framework\Event\Invoker\InvokerDefault::_callObserverMethod
            [Callee] => Magento\Cron\Observer\ProcessCronQueueObserver::execute
        )

    [10] => Array
        (
            [File] => vendor/magento/framework/Event/Invoker/InvokerDefault.php
            [Line] => 60
            [Caller] => Magento\Framework\Event\Invoker\InvokerDefault::dispatch
            [Callee] => Magento\Framework\Event\Invoker\InvokerDefault::_callObserverMethod
        )

    [11] => Array
        (
            [File] => vendor/magento/framework/Event/Manager.php
            [Line] => 66
            [Caller] => Magento\Framework\Event\Manager::dispatch
            [Callee] => Magento\Framework\Event\Invoker\InvokerDefault::dispatch
        )

    [12] => Array
        (
            [File] => generated/code/Magento/Framework/Event/Manager/Proxy.php
            [Line] => 95
            [Caller] => Magento\Framework\Event\Manager\Proxy::dispatch
            [Callee] => Magento\Framework\Event\Manager::dispatch
        )

    [13] => Array
        (
            [File] => vendor/magento/framework/App/Cron.php
            [Line] => 86
            [Caller] => Magento\Framework\App\Cron::launch
            [Callee] => Magento\Framework\Event\Manager\Proxy::dispatch
        )

    [14] => Array
        (
            [File] => vendor/magento/module-cron/Console/Command/CronCommand.php
            [Line] => 98
            [Caller] => Magento\Cron\Console\Command\CronCommand::execute
            [Callee] => Magento\Framework\App\Cron::launch
        )

    [15] => Array
        (
            [File] => vendor/symfony/console/Command/Command.php
            [Line] => 245
            [Caller] => Symfony\Component\Console\Command\Command::run
            [Callee] => Magento\Cron\Console\Command\CronCommand::execute
        )

    [16] => Array
        (
            [File] => vendor/symfony/console/Application.php
            [Line] => 835
            [Caller] => Symfony\Component\Console\Application::doRunCommand
            [Callee] => Symfony\Component\Console\Command\Command::run
        )

    [17] => Array
        (
            [File] => vendor/symfony/console/Application.php
            [Line] => 185
            [Caller] => Symfony\Component\Console\Application::doRun
            [Callee] => Symfony\Component\Console\Application::doRunCommand
        )

    [18] => Array
        (
            [File] => vendor/magento/framework/Console/Cli.php
            [Line] => 104
            [Caller] => Magento\Framework\Console\Cli::doRun
            [Callee] => Symfony\Component\Console\Application::doRun
        )

    [19] => Array
        (
            [File] => vendor/symfony/console/Application.php
            [Line] => 117
            [Caller] => Symfony\Component\Console\Application::run
            [Callee] => Magento\Framework\Console\Cli::doRun
        )

    [20] => Array
        (
            [File] => bin/magento
            [Line] => 23
            [Caller] => 
            [Callee] => Symfony\Component\Console\Application::run
        )
)

Step 2

An error occurred on the server. Please try to place the order again.
#0 app/code/Webkul/AmazonMagentoConnect/Helper/Order.php(240): Magento\Quote\Model\QuoteManagement->placeOrder('57958')
#1 app/code/Webkul/AmazonMagentoConnect/Helper/ManageOrderRawData.php(367): Webkul\AmazonMagentoConnect\Helper\Order->createAmazonOrderAtMage(Array)
#2 app/code/Webkul/AmazonMagentoConnect/Model/Cron.php(122): Webkul\AmazonMagentoConnect\Helper\ManageOrderRawData->manageOrderData(Array, '1', true)
#3 [internal function]: Webkul\AmazonMagentoConnect\Model\Cron->orderSyncFromAmazon(Object(Magento\Cron\Model\Schedule\Interceptor))
#4 vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php(314): call_user_func_array(Array, Array)
#5 vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php(720): Magento\Cron\Observer\ProcessCronQueueObserver->_runJob(1577433540, 1577433542, Array, Object(Magento\Cron\Model\Schedule\Interceptor), 'default')
#6 vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php(240): Magento\Cron\Observer\ProcessCronQueueObserver->processPendingJobs('default', Array, 1577433542)
#7 vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php(269): Magento\Cron\Observer\ProcessCronQueueObserver->Magento\Cron\Observer\{closure}('default')
#8 vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php(241): Magento\Cron\Observer\ProcessCronQueueObserver->lockGroup('default', Object(Closure))
#9 vendor/magento/framework/Event/Invoker/InvokerDefault.php(72): Magento\Cron\Observer\ProcessCronQueueObserver->execute(Object(Magento\Framework\Event\Observer))
#10 vendor/magento/framework/Event/Invoker/InvokerDefault.php(60): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(Magento\Cron\Observer\ProcessCronQueueObserver), Object(Magento\Framework\Event\Observer))
#11 vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer))
#12 generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('default', Array)
#13 vendor/magento/framework/App/Cron.php(86): Magento\Framework\Event\Manager\Proxy->dispatch('default')
#14 vendor/magento/module-cron/Console/Command/CronCommand.php(98): Magento\Framework\App\Cron->launch()
#15 vendor/symfony/console/Command/Command.php(245): Magento\Cron\Console\Command\CronCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 vendor/symfony/console/Application.php(835): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 vendor/symfony/console/Application.php(185): Symfony\Component\Console\Application->doRunCommand(Object(Magento\Cron\Console\Command\CronCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 vendor/magento/framework/Console/Cli.php(104): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 vendor/symfony/console/Application.php(117): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 bin/magento(23): Symfony\Component\Console\Application->run()
#21 {main}
Array
(
    [0] => Array
        (
            [File] => app/code/Webkul/AmazonMagentoConnect/Helper/Order.php
            [Line] => 267
            [Caller] => Webkul\AmazonMagentoConnect\Helper\Order::createAmazonOrderAtMage
            [Callee] => df_log_l
        )

    [1] => Array
        (
            [File] => app/code/Webkul/AmazonMagentoConnect/Helper/ManageOrderRawData.php
            [Line] => 367
            [Caller] => Webkul\AmazonMagentoConnect\Helper\ManageOrderRawData::manageOrderData
            [Callee] => Webkul\AmazonMagentoConnect\Helper\Order::createAmazonOrderAtMage
        )

    [2] => Array
        (
            [File] => app/code/Webkul/AmazonMagentoConnect/Model/Cron.php
            [Line] => 122
            [Caller] => Webkul\AmazonMagentoConnect\Model\Cron::orderSyncFromAmazon
            [Callee] => Webkul\AmazonMagentoConnect\Helper\ManageOrderRawData::manageOrderData
        )

    [3] => Array
        (
            [File] => 
            [Line] => 
            [Caller] => call_user_func_array
            [Callee] => Webkul\AmazonMagentoConnect\Model\Cron::orderSyncFromAmazon
        )

    [4] => Array
        (
            [File] => vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php
            [Line] => 314
            [Caller] => Magento\Cron\Observer\ProcessCronQueueObserver::_runJob
            [Callee] => call_user_func_array
        )

    [5] => Array
        (
            [File] => vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php
            [Line] => 720
            [Caller] => Magento\Cron\Observer\ProcessCronQueueObserver::processPendingJobs
            [Callee] => Magento\Cron\Observer\ProcessCronQueueObserver::_runJob
        )

    [6] => Array
        (
            [File] => vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php
            [Line] => 240
            [Caller] => Magento\Cron\Observer\ProcessCronQueueObserver::Magento\Cron\Observer\{closure}
            [Callee] => Magento\Cron\Observer\ProcessCronQueueObserver::processPendingJobs
        )

    [7] => Array
        (
            [File] => vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php
            [Line] => 269
            [Caller] => Magento\Cron\Observer\ProcessCronQueueObserver::lockGroup
            [Callee] => Magento\Cron\Observer\ProcessCronQueueObserver::Magento\Cron\Observer\{closure}
        )

    [8] => Array
        (
            [File] => vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php
            [Line] => 241
            [Caller] => Magento\Cron\Observer\ProcessCronQueueObserver::execute
            [Callee] => Magento\Cron\Observer\ProcessCronQueueObserver::lockGroup
        )

    [9] => Array
        (
            [File] => vendor/magento/framework/Event/Invoker/InvokerDefault.php
            [Line] => 72
            [Caller] => Magento\Framework\Event\Invoker\InvokerDefault::_callObserverMethod
            [Callee] => Magento\Cron\Observer\ProcessCronQueueObserver::execute
        )

    [10] => Array
        (
            [File] => vendor/magento/framework/Event/Invoker/InvokerDefault.php
            [Line] => 60
            [Caller] => Magento\Framework\Event\Invoker\InvokerDefault::dispatch
            [Callee] => Magento\Framework\Event\Invoker\InvokerDefault::_callObserverMethod
        )

    [11] => Array
        (
            [File] => vendor/magento/framework/Event/Manager.php
            [Line] => 66
            [Caller] => Magento\Framework\Event\Manager::dispatch
            [Callee] => Magento\Framework\Event\Invoker\InvokerDefault::dispatch
        )

    [12] => Array
        (
            [File] => generated/code/Magento/Framework/Event/Manager/Proxy.php
            [Line] => 95
            [Caller] => Magento\Framework\Event\Manager\Proxy::dispatch
            [Callee] => Magento\Framework\Event\Manager::dispatch
        )

    [13] => Array
        (
            [File] => vendor/magento/framework/App/Cron.php
            [Line] => 86
            [Caller] => Magento\Framework\App\Cron::launch
            [Callee] => Magento\Framework\Event\Manager\Proxy::dispatch
        )

    [14] => Array
        (
            [File] => vendor/magento/module-cron/Console/Command/CronCommand.php
            [Line] => 98
            [Caller] => Magento\Cron\Console\Command\CronCommand::execute
            [Callee] => Magento\Framework\App\Cron::launch
        )

    [15] => Array
        (
            [File] => vendor/symfony/console/Command/Command.php
            [Line] => 245
            [Caller] => Symfony\Component\Console\Command\Command::run
            [Callee] => Magento\Cron\Console\Command\CronCommand::execute
        )

    [16] => Array
        (
            [File] => vendor/symfony/console/Application.php
            [Line] => 835
            [Caller] => Symfony\Component\Console\Application::doRunCommand
            [Callee] => Symfony\Component\Console\Command\Command::run
        )

    [17] => Array
        (
            [File] => vendor/symfony/console/Application.php
            [Line] => 185
            [Caller] => Symfony\Component\Console\Application::doRun
            [Callee] => Symfony\Component\Console\Application::doRunCommand
        )

    [18] => Array
        (
            [File] => vendor/magento/framework/Console/Cli.php
            [Line] => 104
            [Caller] => Magento\Framework\Console\Cli::doRun
            [Callee] => Symfony\Component\Console\Application::doRun
        )

    [19] => Array
        (
            [File] => vendor/symfony/console/Application.php
            [Line] => 117
            [Caller] => Symfony\Component\Console\Application::run
            [Callee] => Magento\Framework\Console\Cli::doRun
        )

    [20] => Array
        (
            [File] => bin/magento
            [Line] => 23
            [Caller] => 
            [Callee] => Symfony\Component\Console\Application::run
        )

)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant