Skip to content

depreceated errors when exporting templates #4559

@jelle-burodeng

Description

@jelle-burodeng

When clicking the export templates button on ?/cp/design/email I get the below errors
EE 7.5.1
php 8.2

Deprecated
ZipArchive::addFromString(): Passing null to parameter #2 ($content) of type string is deprecated
ee/ExpressionEngine/Controller/Design/AbstractDesign.php, line 382

Severity: E_DEPRECATED
Deprecated
ZipArchive::addFromString(): Passing null to parameter #2 ($content) of type string is deprecated
ee/ExpressionEngine/Controller/Design/AbstractDesign.php, line 382

Severity: E_DEPRECATED
Deprecated
ZipArchive::addFromString(): Passing null to parameter #2 ($content) of type string is deprecated
ee/ExpressionEngine/Controller/Design/AbstractDesign.php, line 382

Severity: E_DEPRECATED
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/helpers/download_helper.php, line 54

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/helpers/download_helper.php, line 55

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/helpers/download_helper.php, line 56

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/helpers/download_helper.php, line 57

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/helpers/download_helper.php, line 58

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/helpers/download_helper.php, line 59

Severity: E_WARNING
PK���WHYY)default_site/stylesheets.group/index.htmlPK�����WHYY\r�����l"default_site/home.group/index.html�=��Ƒ�w�b K�ni���7w��$+�/��Ȋ]�\���C�� etc etc etc

Metadata

Metadata

Assignees

Labels

Bug: AcceptedBug has been confirmed, is reproducible, and ready to work on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions