[2016-09-01 02:10:51] main.CRITICAL: Exception message: Warning: Invalid argument supplied for foreach() in /home/website/public_html/vendor/magento/module-catalog/Model/Product.php on line 1910 Trace: #0 /home/website/public_html/vendor/magento/module-catalog/Model/Product.php(1910): Magento\Framework\App\ErrorHandler->handler(2, 'Invalid argumen...', '/home/website/...', 1910, Array) #1 /home/website/public_html/var/generation/Magento/Catalog/Model/Product/Interceptor.php(1298): Magento\Catalog\Model\Product->getOptionById('237') #2 /home/website/public_html/vendor/magento/module-catalog/Model/Plugin/QuoteItemProductOption.php(31): Magento\Catalog\Model\Product\Interceptor->getOptionById('237') #3 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Catalog\Model\Plugin\QuoteItemProductOption->aroundConvert(Object(Magento\Quote\Model\Quote\Item\ToOrderItem\Interceptor), Object(Closure), Object(Magento\Quote\Model\Quote\Item), Array) #4 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Quote\\M...', 'convert', Object(Magento\Quote\Model\Quote\Item\ToOrderItem\Interceptor), Array, 'gift_message_qu...') #5 /home/website/public_html/vendor/magento/module-gift-message/Model/Plugin/QuoteItem.php(41): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Quote\Model\Quote\Item), Array) #6 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\GiftMessage\Model\Plugin\QuoteItem->aroundConvert(Object(Magento\Quote\Model\Quote\Item\ToOrderItem\Interceptor), Object(Closure), Object(Magento\Quote\Model\Quote\Item), Array) #7 /home/website/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Quote\\M...', 'convert', Object(Magento\Quote\Model\Quote\Item\ToOrderItem\Interceptor), Array, 'append_bundle_d...') #8 /home/website/public_html/vendor/magento/module-bundle/Model/Plugin/QuoteItem.php(29): Magento\Quote\Model\Quote\Item\ToOrderItem\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Quote\Model\Quote\Item), Array) #9 /home/website/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Bundle\Model\Plugin\QuoteItem->aroundConvert(Object(Magento\Quote\Model\Quote\Item\ToOrderItem\Interceptor), Object(Closure), Object(Magento\Quote\Model\Quote\Item), Array) #10 /home/website/public_html/var/generation/Magento/Quote/Model/Quote/Item/ToOrderItem/Interceptor.php(26): Magento\Quote\Model\Quote\Item\ToOrderItem\Interceptor->___callPlugins('convert', Array, Array) #11 /home/website/public_html/vendor/magento/module-quote/Model/QuoteManagement.php(408): Magento\Quote\Model\Quote\Item\ToOrderItem\Interceptor->convert(Object(Magento\Quote\Model\Quote\Item), Array) #12 /home/website/public_html/vendor/magento/module-quote/Model/QuoteManagement.php(468): Magento\Quote\Model\QuoteManagement->resolveItems(Object(Magento\Quote\Model\Quote)) #13 /home/website/public_html/vendor/magento/module-quote/Model/QuoteManagement.php(389): Magento\Quote\Model\QuoteManagement->submitQuote(Object(Magento\Quote\Model\Quote), Array) #14 /home/website/public_html/vendor/magento/module-paypal/Model/Express/Checkout.php(792): Magento\Quote\Model\QuoteManagement->submit(Object(Magento\Quote\Model\Quote)) #15 /home/website/public_html/vendor/magento/module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php(81): Magento\Paypal\Model\Express\Checkout->place('EC-5UK35508SJ83...') #16 /home/website/public_html/var/generation/Magento/Paypal/Controller/Express/PlaceOrder/Interceptor.php(24): Magento\Paypal\Controller\Express\AbstractExpress\PlaceOrder->execute() #17 /home/website/public_html/vendor/magento/framework/App/Action/Action.php(102): Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->execute() #18 /home/website/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #19 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->___callParent('dispatch', Array) #20 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Paypal\\...', 'dispatch', Object(Magento\Paypal\Controller\Express\PlaceOrder\Interceptor), Array, 'contextPlugin') #21 /home/website/public_html/vendor/magento/module-store/App/Action/Plugin/Context.php(106): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #22 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Magento\Paypal\Controller\Express\PlaceOrder\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #23 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Paypal\\...', 'dispatch', Object(Magento\Paypal\Controller\Express\PlaceOrder\Interceptor), Array, 'customer-app-ac...') #24 /home/website/public_html/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #25 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Paypal\Controller\Express\PlaceOrder\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #26 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Paypal\\...', 'dispatch', Object(Magento\Paypal\Controller\Express\PlaceOrder\Interceptor), Array, 'storeCheck') #27 /home/website/public_html/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #28 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Magento\Paypal\Controller\Express\PlaceOrder\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #29 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Paypal\\...', 'dispatch', Object(Magento\Paypal\Controller\Express\PlaceOrder\Interceptor), Array, 'weee-app-action...') #30 /home/website/public_html/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #31 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Paypal\Controller\Express\PlaceOrder\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #32 /home/website/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Paypal\\...', 'dispatch', Object(Magento\Paypal\Controller\Express\PlaceOrder\Interceptor), Array, 'tax-app-action-...') #33 /home/website/public_html/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #34 /home/website/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Paypal\Controller\Express\PlaceOrder\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #35 /home/website/public_html/var/generation/Magento/Paypal/Controller/Express/PlaceOrder/Interceptor.php(104): Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->___callPlugins('dispatch', Array, Array) #36 /home/website/public_html/vendor/magento/framework/App/FrontController.php(55): Magento\Paypal\Controller\Express\PlaceOrder\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #37 /home/website/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #38 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #39 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...') #40 /home/website/public_html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #41 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #42 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install') #43 /home/website/public_html/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #44 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #45 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #46 /home/website/public_html/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #47 /home/website/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #48 /home/website/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #49 /home/website/public_html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #50 /home/website/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #51 /home/website/public_html/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array) #52 /home/website/public_html/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #53 /home/website/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch() #54 /home/website/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #55 {main} [] []