squid guard 1.16.19
-
Crash report begins. Anonymous machine information:
amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #1 RELENG_2_7_0-n255866-686c8d3c1f0: Wed Jun 28 04:21:19 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/obj/amd64/LwYAddCr/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/sources/FreeBSD-src-RELCrash report details:
PHP Errors:
[19-Jul-2023 09:41:34 America/Sao_Paulo] PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /usr/local/pkg/squidguard_configurator.inc:1850
Stack trace:
#0 /usr/local/pkg/squidguard_configurator.inc(1850): implode(' ', 'Valid URL expec...')
#1 /usr/local/pkg/squidguard_configurator.inc(1449): sg_check_dest(Array, Array)
#2 /usr/local/pkg/squidguard_configurator.inc(864): sg_check_config_data('')
#3 /usr/local/pkg/squidguard_configurator.inc(392): sg_create_config()
#4 /usr/local/pkg/squidguard.inc(924): sg_reconfigure()
#5 /etc/inc/pkg-utils.inc(775) : eval()'d code(1): squidguard_install_command()
#6 /etc/inc/pkg-utils.inc(775): eval()
#7 /etc/inc/pkg-utils.inc(893): eval_once('squidguard_inst...')
#8 /etc/rc.packages(76): install_package_xml('squidGuard')
#9 {main}
thrown in /usr/local/pkg/squidguard_configurator.inc on line 1850 -
-
Was this after upgrading? From 2.6? Fresh install?
-
@stephenw10
was using development version 2.7.020231404. I updated to the final version and it showed this error... in the development version it was running smooth -
@stephenw10
I did a fresh install, but the same error... -
@jurandirbernardi said in squid guard 1.16.19:
2.7.020231404
Hmm, any idea what version of Squidguard you were running in that snapshot?
How is it configured? I'm not hitting that error here.
-
@stephenw10 said in squid guard 1.16.19:
Hmm, any idea what version of Squidguard you were running in that snapshot?
How is it configured? I'm not hitting that error here.
squidguard 1.16.19 Pfsense 20220614... squidguard in the current version and it didn't show any errors... if you leave the squid guard package installed on the server it crashes and turns off the computer...
I performed a zero installation on a bench machine and installed only the squidguard package and the error was the same as shown above...
-
I found the error. after installing it on another machine I found the error... it was in restoring the backup referring to squidguard.. error in the configuration of page redirection in case of error in blocking the site in the path Proxy filter SquidGuard: Target categoriesEditarTarget categories and in the image item!
-
Hmm, so you were able to solve it by removing that?
-
@stephenw10 yes.. I changed it for another option