Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

[Case 88597] Can't use string ("Cpanel::Locale") as

Discussion in 'General Discussion' started by musti19, May 29, 2014.

  1. musti19

    musti19 Well-Known Member

    Joined:
    Jan 20, 2013
    Messages:
    110
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    When im trying to edit some language params i get the error:
    Can't use string ("Cpanel::Locale") as a HASH ref while "strict refs" in use at /usr/local/cpanel/Cpanel/CPAN/Locale/Maketext.pm line 717

    It causes variables only that contains , e.g.:
    "Showing [numf,_1] of [numf,_2] records."

    Is there a solution?

    11.42.1 (build 16)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,346
    Likes Received:
    1,854
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Internal case number 88597 is open to address this issue. There is currently no time frame available on a resolution, but the temporary workaround is to remove the following 2 strings before saving the changes:
    Code:
    [output,class,_1,status]
    
    [output,class,_2,status]
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. a-hosting

    a-hosting Registered

    Joined:
    Jun 12, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    we have the same problem. Is there any solution?

    Example:
    Passwords must be at least [quant,_1,character,characters] long.


    Thank you!
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    How are you modifying the strings?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice