The "Export All" functionality does not work

Created on 22 March 2023, almost 2 years ago
Updated 12 July 2024, 5 months ago

Problem

The "Download statistics" page "Export all" functionality doesn't work. The resulting file contains errors and header row only.
Example:

<br />
<b>Warning</b>:  Attempt to read property "filename" on bool in <b>/var/www/html/docroot/modules/contrib/download_count/src/Form/DownloadCountExportForm.php</b> on line <b>59</b><br />
<br />
<b>Warning</b>:  Attempt to read property "type" on bool in <b>/var/www/html/docroot/modules/contrib/download_count/src/Form/DownloadCountExportForm.php</b> on line <b>60</b><br />
<br />
<b>Warning</b>:  Attempt to read property "id" on bool in <b>/var/www/html/docroot/modules/contrib/download_count/src/Form/DownloadCountExportForm.php</b> on line <b>61</b><br />
<br />
<b>Warning</b>:  Attempt to read property "filename" on bool in <b>/var/www/html/docroot/modules/contrib/download_count/src/Form/DownloadCountExportForm.php</b> on line <b>127</b><br />
<br />
<b>Warning</b>:  Attempt to read property "type" on bool in <b>/var/www/html/docroot/modules/contrib/download_count/src/Form/DownloadCountExportForm.php</b> on line <b>168</b><br />
<br />
<b>Warning</b>:  Attempt to read property "id" on bool in <b>/var/www/html/docroot/modules/contrib/download_count/src/Form/DownloadCountExportForm.php</b> on line <b>169</b><br />
<br />
<b>Warning</b>:  Attempt to read property "fid" on bool in <b>/var/www/html/docroot/modules/contrib/download_count/src/Form/DownloadCountExportForm.php</b> on line <b>170</b><br />
"Download count id","File id","File name","File URI","File size","Entity type","Entity id","Downloading user id","Downloading username","Downloading user ip address","HTTP referrer","Date time"
🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇺🇦Ukraine Oleksiy Lutsk 🇺🇦

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