Hi all,
Getting this error after saving every entry. I have really no idea what’s the problem, but most of all. No idea how to solve.
EE version 5.4.2. PHP 7.4
Warning sprintf(): Too few arguments ee/EllisLab/ExpressionEngine/Controller/Publish/AbstractPublish.php, line 404
Severity: E_WARNING Warning Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120) ee/legacy/core/Input.php, line 265
Severity: E_WARNING Warning Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120) ee/legacy/libraries/Functions.php, line 393
Severity: E_WARNING
Kind regards,
Wessel
Hello, We have checked the function code of the EE5.4.2 version and found there two %s items in the string of the lang but only one parameter supplied after the lang string. as per the attached screenshot. (Link: https://github.com/ExpressionEngine/ExpressionEngine/blob/5.4.2/system/ee/EllisLab/ExpressionEngine/Controller/Publish/AbstractPublish.php)
But the lang “edit_entry_success_desc” have the two dynamic variables (%1$s, %2$s) means “sprint” must have the two parameters.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.