Skip to content

Update for Magento under PHP8.1

Compare
Choose a tag to compare
@leedave leedave released this 16 May 12:54
· 3 commits to master since this release

Added sqlWriteArray(string $tableName, array $data)
Reason: The Zend Framework beneath Magento transformes SQL queries larger than 7KB into an empty string and triggers an error when using PHP8.1. This approach, saving by array is cleaner (sanitation done by Framework) and is not affected by the problem mentioned above