TYPO3-Headless / headless

TYPO3 Headless JSON API providing content for PWA application (e.g. javaScript apps like nuxt-typo3)
https://t3headless.io
GNU General Public License v2.0
156 stars 57 forks source link

Undefined array key "as" in Classes/DataProcessing/DataProcessingTrait.php #714

Closed davidjakob closed 4 months ago

davidjakob commented 5 months ago

Describe the bug In Classes/DataProcessing/DataProcessingTrait.php Line 26 $processorConfiguration['as'] is used without checking if the array key exist. our case, this results in a log file entry with every page visit. Consequently, the database has grown by approximately 1GB of data in a week.

Fixing Line 26 in Classes/DataProcessing/DataProcessingTrait.php to the folowing Code:

if (isset($processorConfiguration['as']) && isset($processedData[$processorConfiguration['as']])