Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't use string ("0") as a HASH ref while "strict refs" in use at /wfe/asg/modules/a

Hello everybody,

I have the following problem:
When I login to webadmin (regardless of browser or local/remote user) I get the following error instead of the dashboard:

Can't use string ("0") as a HASH ref while "strict refs" in use at /wfe/asg/modules/asg_dashboard.pm line 90.


The ASG's current version is 8.303, but it also happened on 8.301. At that time the VM had an uptime of more than 70 days and I hadn't done ANY configuration changes (not on ASG, not on any switch, router, etc.) for a long time.

I've found similar problems in these posts, but I can't really seem to find a solution in there. It appears it was considered a bug in one case.

https://community.sophos.com/products/unified-threat-management/astaroorg/f/75/t/64326

https://community.sophos.com/products/unified-threat-management/astaroorg/f/110/t/70223

astaro:/root # cc get_dashboard_data

get_dashboard_data returned 0
[
          'UNEXPECTED',
          {
            'attrs' => [
                         'method',
                         'perl_error'
                       ],
            'fatal' => 1,
            'format' => 'Unexpected error in %s: %s',
            'method' => 'get_dashboard_data',
            'msgtype' => 'UNEXPECTED',
            'name' => 'Unexpected error in get_dashboard_data: Can\'t use string ("0") as a HASH ref while "strict refs" in use at /Info/webadmin.pm line 337.
',
            'never_hide' => 0,
            'perl_error' => 'Can\'t use string ("0") as a HASH ref while "strict refs" in use at /Info/webadmin.pm line 337.
'
          }
        ]
astaro:/root #


I've also gotten similar messages in Mgmt-Up2Date. 

Does anybody have an idea how to solve this?


This thread was automatically locked due to age.