PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3961
-
Hi All after I update from 2.7 to 2.8, I got this alert, but I am not facing issues, so leave this error as it is
PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3961, Message: Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, null given, called in /usr/local/pkg/squidguard.inc on line 1092 and defined in /etc/inc/util.inc:3961 Stack trace:
#0 /usr/local/pkg/squidguard.inc(1092): array_get_path()
#1 /usr/local/pkg/squidguard.inc(1035): convert_pfxml_to_sgxml_source()
#2 /usr/local/pkg/squidguard.inc(93): convert_pfxml_to_sgxml()
#3 /etc/inc/pkg-utils.inc(1062): require_once('/usr/local/pkg/...')
#4 /etc/rc.packages(80): delete_package_xml()
#5 {main}
thrown -
If you just remove the alert does it re-appear?
It could be an artifact generated during the upgrade.
-
@stephenw10 the first reboot after the update I got this alert but after I rebooted one more time so no alert came to email.
-
Ah, then it was probably some mismatch during the upgrade that wasn't removed for some reason. If it doesn't return and Squid/Squidguard is working as expected then you likely don't need to do anything.
-
@stephenw10 I a not using squid guard so I have to enable and check, I enabled the squid proxy server and squid guard proxy filter they both are running fine without any errors.
Thanks for the help and quick response