Hedloff

Well-Known Member
Jun 7, 2004
151
7
168
Up north!
cPanel Access Level
DataCenter Provider
Hello,

We have a customer trying to enable optimize website trough cPanel, but getting error:

An error was encountered while attempting to apply the specified options. OptimizeWS::eek:ptimizews(all,text/html text/plain text/xml) failed: (XID kmxqs9) Must be list context (Cpanel::OrDie::convert_die_to_multi_return)!

Anyone seen this before and how can we fix this?
 

Hedloff

Well-Known Member
Jun 7, 2004
151
7
168
Up north!
cPanel Access Level
DataCenter Provider
I tried to disable it and got:

Website optimization preferences updated. Content compression is now disabled.

Then I enabled it again:

Website optimization preferences updated. Content compression is now enabled.
Content compression is now enabled for all content.

But if I try to enable it again I get the error message.
So I would really like cPanel to retur another message/warning then the above.
Maybee something like this:

Already enabled and active!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,205
363
Hello @Hedloff,

Could you let us know which version of cPanel is installed on this system? You can check with this command:

Code:
cat /usr/local/cpanel/version
The reason I ask is because the issue you have reported seems similar to a bug that was fixed in cPanel version 60.0.26:

Fixed case CPANEL-9820: Avoid failure message when saving in Optimize Website.

I look forward to your response.

Thank you.