Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 exception(s):
- Exception #0 (Exception): Notice: Undefined offset: 0 in /var/www/html/vendor/magento/module-customer/Ui/Component/DataProvider/Document.php on line 168
- Exception #0 (Exception): Notice: Undefined offset: 0 in /var/www/html/vendor/magento/module-customer/Ui/Component/DataProvider/Document.php on line 168
- #0 /var/www/html/vendor/magento/module-customer/Ui/Component/DataProvider/Document.php(168): MagentoFrameworkAppErrorHandler->handler(8, 'Undefined offse...', '/var/www/html/v...', 168, Array)
- #1 /var/www/html/vendor/magento/module-customer/Ui/Component/DataProvider/Document.php(108): MagentoCustomerUiComponentDataProviderDocument->setWebsiteValue()
- #2 /var/www/html/vendor/magento/module-ui/Model/Export/MetadataProvider.php(159): MagentoCustomerUiComponentDataProviderDocument->getCustomAttribute('website_id')
- #3 /var/www/html/vendor/magento/module-ui/Model/Export/ConvertToCsv.php(84): MagentoUiModelExportMetadataProvider->getRowData(Object(MagentoCustomerUiComponentDataProviderDocument), Array, Array)
- #4 /var/www/html/vendor/magento/module-ui/Controller/Adminhtml/Export/GridToCsv.php(72): MagentoUiModelExportConvertToCsv->getCsvFile()
- #5 /var/www/html/generated/code/Magento/Ui/Controller/Adminhtml/Export/GridToCsv/Interceptor.php(24): MagentoUiControllerAdminhtmlExportGridToCsv->execute()
- #6 /var/www/html/vendor/magento/framework/App/Action/Action.php(107): MagentoUiControllerAdminhtmlExportGridToCsvInterceptor->execute()
- #7 /var/www/html/vendor/magento/module-backend/App/AbstractAction.php(229): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
- #8 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoBackendAppAbstractAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
- #9 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoUiControllerAdminhtmlExportGridToCsvInterceptor->___callParent('dispatch', Array)
- #10 /var/www/html/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): MagentoUiControllerAdminhtmlExportGridToCsvInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
- #11 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(135): MagentoBackendAppActionPluginAuthentication->aroundDispatch(Object(MagentoUiControllerAdminhtmlExportGridToCsvInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
- #12 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoUiControllerAdminhtmlExportGridToCsvInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
- #13 /var/www/html/generated/code/Magento/Ui/Controller/Adminhtml/Export/GridToCsv/Interceptor.php(39): MagentoUiControllerAdminhtmlExportGridToCsvInterceptor->___callPlugins('dispatch', Array, NULL)
- #14 /var/www/html/vendor/magento/framework/App/FrontController.php(55): MagentoUiControllerAdminhtmlExportGridToCsvInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
- #15 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
- #16 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
- #17 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
- #18 /var/www/html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
- #19 /var/www/html/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
- #20 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): MagentoFrameworkAppHttp->launch()
- #21 /var/www/html/vendor/magento/framework/App/Bootstrap.php(256): MagentoFrameworkAppHttpInterceptor->launch()
- #22 /var/www/html/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))
- #23 {main}
- Document.php
- /**
- * Update website value
- * Method set website name instead id value
- * @return void
- */
- private function setWebsiteValue()
- {
- $value = $this->getData(self::$websiteAttributeCode);
- $list = $this->storeManager->getWebsites();
- $this->setCustomAttribute(self::$websiteAttributeCode, $list[$value]->getName());
- $this->setCustomAttribute(self::$websiteIdAttributeCode, $value);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement