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

Cart2Quote_Features: «DateTime::createFromFormat() expects parameter 2 to be string, array given in vendor/magento/module-catalog/Model/Webapi/Product/Option/Type/Date.php on line 34» #249

Open
dmitrii-fediuk opened this issue Oct 12, 2021 · 0 comments

Comments

@dmitrii-fediuk
Copy link
Contributor

{
    "channel": "main",
    "context": {
        "exception": {}
    },
    "datetime": {
        "date": "2021-09-28 20:48:16.669587",
        "timezone_type": 3,
        "timezone": "UTC"
    },
    "level": 500,
    "level_name": "CRITICAL",
    "Mage2.PRO": [
        {
            "IP Address": "24.114.55.156",
            "mage2pro/core": "7.7.7",
            "Magento": "2.3.5-p2",
            "PHP": "7.2.34-8+ubuntu16.04.1+deb.sury.org+1",
            "Post": [],
            "Referer": "https://www.canadasatellite.ca/checkout/",
            "Request Method": "POST",
            "URL": "https://www.canadasatellite.ca/rest/en/V1/amasty_checkout/guest-carts/W5OlJLgTxrpdlSpo5Do0wdYzDkXmmtNE/update-item",
            "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
        }
    ],
    "message": "Report ID: webapi-61537f90a375c; Message: Warning: DateTime::createFromFormat() expects parameter 2 to be string, array given in vendor/magento/module-catalog/Model/Webapi/Product/Option/Type/Date.php on line 34"
}
Location:    vendor/mage2pro/core/Framework/Log/Dispatcher.php:65
Callee:      df_log_l
*****************1******************
Location:    vendor/monolog/monolog/src/Monolog/Logger.php:344
Callee:      Df\Framework\Log\Dispatcher::handle
*****************2******************
Location:    vendor/magento/framework/Logger/Monolog.php:48
Callee:      Monolog\Logger::addRecord
*****************3******************
Location:    vendor/monolog/monolog/src/Monolog/Logger.php:740
Callee:      Magento\Framework\Logger\Monolog::addRecord
*****************4******************
Location:    vendor/magento/framework/Webapi/ErrorProcessor.php:209
Callee:      Monolog\Logger::critical
*****************5******************
Location:    vendor/magento/framework/Webapi/ErrorProcessor.php:153
Callee:      Magento\Framework\Webapi\ErrorProcessor::_critical
*****************6******************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Framework\Webapi\ErrorProcessor::maskException
*****************7******************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Framework\Webapi\ErrorProcessor::___callParent
*****************8******************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Framework\Webapi\ErrorProcessor::Magento\Framework\Interception\{closure}
*****************9******************
Location:    generated/code/Magento/Framework/Webapi/ErrorProcessor/Interceptor.php:26
Callee:      Magento\Framework\Webapi\ErrorProcessor::___callPlugins
*****************10*****************
Location:    vendor/magento/module-webapi/Controller/Rest.php:190
Callee:      Magento\Framework\Webapi\ErrorProcessor::maskException
*****************11*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Webapi\Controller\Rest::dispatch
*****************12*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Webapi\Controller\Rest::___callParent
*****************13*****************
Location:    app/code/Cart2Quote/Features/Feature/ApiAccess/Rest.php:2
Callee:      Magento\Webapi\Controller\Rest::Magento\Framework\Interception\{closure}
*****************14*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      Cart2Quote\Features\Feature\ApiAccess\Rest::aroundDispatch
*****************15*****************
Location:    app/code/Cart2Quote/Features/Feature/ApiAccess/Rest.php:2
Callee:      Magento\Webapi\Controller\Rest::Magento\Framework\Interception\{closure}
*****************16*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      Cart2Quote\Features\Feature\ApiAccess\Rest::aroundDispatch
*****************17*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Webapi\Controller\Rest::Magento\Framework\Interception\{closure}
*****************18*****************
Location:    generated/code/Magento/Webapi/Controller/Rest/Interceptor.php:26
Callee:      Magento\Webapi\Controller\Rest::___callPlugins
*****************19*****************
Location:    vendor/magento/framework/App/Http.php:116
Callee:      Magento\Webapi\Controller\Rest::dispatch
*****************20*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:58
Callee:      Magento\Framework\App\Http::launch
*****************21*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:138
Callee:      Magento\Framework\App\Http::___callParent
*****************22*****************
Location:    vendor/canadasatellite/core/Plugin/Magento/Framework/App/Http.php:18
Callee:      Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
*****************23*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      CanadaSatellite\Core\Plugin\Magento\Framework\App\Http::aroundLaunch
*****************24*****************
Location:    vendor/mage2pro/core/Framework/Plugin/App/Http.php:16
Callee:      Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
*****************25*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:135
Callee:      Df\Framework\Plugin\App\Http::aroundLaunch
*****************26*****************
Location:    vendor/magento/framework/Interception/Interceptor.php:153
Callee:      Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
*****************27*****************
Location:    generated/code/Magento/Framework/App/Http/Interceptor.php:26
Callee:      Magento\Framework\App\Http::___callPlugins
*****************28*****************
Location:    vendor/magento/framework/App/Bootstrap.php:261
Callee:      Magento\Framework\App\Http::launch
*****************29*****************
Location:    pub/index.php:40
Callee:      Magento\Framework\App\Bootstrap::run
@dmitrii-fediuk dmitrii-fediuk changed the title «DateTime::createFromFormat() expects parameter 2 to be string, array given in vendor/magento/module-catalog/Model/Webapi/Product/Option/Type/Date.php on line 34» Cart2Quote\Features: «DateTime::createFromFormat() expects parameter 2 to be string, array given in vendor/magento/module-catalog/Model/Webapi/Product/Option/Type/Date.php on line 34» Oct 12, 2021
@dmitrii-fediuk dmitrii-fediuk transferred this issue from canadasatellite-ca/bambora Oct 12, 2021
@dmitrii-fediuk dmitrii-fediuk changed the title Cart2Quote\Features: «DateTime::createFromFormat() expects parameter 2 to be string, array given in vendor/magento/module-catalog/Model/Webapi/Product/Option/Type/Date.php on line 34» Cart2Quote_Features: «DateTime::createFromFormat() expects parameter 2 to be string, array given in vendor/magento/module-catalog/Model/Webapi/Product/Option/Type/Date.php on line 34» Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant