I get the error message: "Can't use function return value in write context in"
Can't use function return value in write context in is a PHP error. The file path and line number following the message are needed to establish its cause.
Select a PHP version supported by your exact PrestaShop version and the installed modules.
Record the complete error message, the PHP version used by the shop, the PrestaShop version and the module version, then send these details to support without including credentials or secrets.
See the official PrestaShop 9 requirements if your shop uses that major version.