Warning: Undefined array key "filename"

Created on 23 October 2024, 29 days ago

Problem/Motivation

Drupal 10.3.6
Using SQL Server driver (not MySQL)

I'm getting an error in my logs. When I run an export, the error is reported. The export works, but I think it's worth reporting and seeing if there's an issue.

Warning: Undefined array key "filename" in Drupal\views_data_export\Plugin\views\display\DataExport::processBatch() (line 718 of E:\wwwroot\portal\web\modules\contrib\views_data_export\src\Plugin\views\display\DataExport.php)
#0 E:\wwwroot\portal\web\core\includes\bootstrap.inc(166): _drupal_error_handler_real()
#1 E:\wwwroot\portal\web\modules\contrib\views_data_export\src\Plugin\views\display\DataExport.php(718): _drupal_error_handler()
#2 E:\wwwroot\portal\web\core\includes\batch.inc(296): Drupal\views_data_export\Plugin\views\display\DataExport::processBatch()
#3 E:\wwwroot\portal\web\core\includes\batch.inc(138): _batch_process()
#4 E:\wwwroot\portal\web\core\includes\batch.inc(94): _batch_do()
#5 E:\wwwroot\portal\web\core\modules\system\src\Controller\BatchController.php(52): _batch_page()
#6 [internal function]: Drupal\system\Controller\BatchController->batchPage()
#7 E:\wwwroot\portal\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#8 E:\wwwroot\portal\web\core\lib\Drupal\Core\Render\Renderer.php(638): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#9 E:\wwwroot\portal\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#10 E:\wwwroot\portal\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#11 E:\wwwroot\portal\vendor\symfony\http-kernel\HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#12 E:\wwwroot\portal\vendor\symfony\http-kernel\HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#13 E:\wwwroot\portal\web\core\lib\Drupal\Core\StackMiddleware\Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#14 E:\wwwroot\portal\web\core\lib\Drupal\Core\StackMiddleware\KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#15 E:\wwwroot\portal\web\core\lib\Drupal\Core\StackMiddleware\ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#16 E:\wwwroot\portal\web\core\modules\big_pipe\src\StackMiddleware\ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#17 E:\wwwroot\portal\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#18 E:\wwwroot\portal\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#19 E:\wwwroot\portal\web\core\lib\Drupal\Core\StackMiddleware\ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#20 E:\wwwroot\portal\web\core\lib\Drupal\Core\StackMiddleware\NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#21 E:\wwwroot\portal\web\core\lib\Drupal\Core\StackMiddleware\AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#22 E:\wwwroot\portal\web\core\lib\Drupal\Core\StackMiddleware\StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#23 E:\wwwroot\portal\web\core\lib\Drupal\Core\DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#24 E:\wwwroot\portal\web\index.php(19): Drupal\Core\DrupalKernel->handle()
#25 {main}

Steps to reproduce

Use the same version of Drupal and SQL Server driver. Install the module. Create a data export view. Run the export.

🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇺🇸United States rraney

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024