We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

[Solved] Error which I cannot resolve

Development and Programming

Wessel's avatar
Wessel
32 posts
3 years ago
Wessel's avatar Wessel

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

       
ZealousWeb's avatar
ZealousWeb
16 posts
3 years ago
ZealousWeb's avatar ZealousWeb

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.

       
ZealousWeb's avatar
ZealousWeb
16 posts
3 years ago
ZealousWeb's avatar ZealousWeb

so can you check for the lang file of your EE and found what string is passed for “edit_entry_success_desc”?

       
Wessel's avatar
Wessel
32 posts
3 years ago
Wessel's avatar Wessel

Hi ZealousWeb,

Thanks a lot, just removed all custom language files and now it’s resolved! Hero of the day!

Thanks.

       
ZealousWeb's avatar
ZealousWeb
16 posts
3 years ago
ZealousWeb's avatar ZealousWeb

That’s great.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.