on 23.01-DEVELOPMENT (built on Fri Nov 11 06:05:57 UTC 2022) when I tried to install Squid I got
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/squid.inc:1610
Stack trace:
#0 /usr/local/pkg/squid.inc(2273): squid_resync_cache()
#1 /etc/inc/pkg-utils.inc(787) : eval()'d code(1): squid_resync()
#2 /etc/inc/pkg-utils.inc(787): eval()
#3 /etc/inc/pkg-utils.inc(912): eval_once('squid_resync();')
#4 /etc/rc.packages(76): install_package_xml('squid')
#5 {main}
thrown in /usr/local/pkg/squid.inc on line 1610
PHP ERROR: Type: 1, File: /usr/local/pkg/squid.inc, Line: 1610, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/squid.inc:1610
Stack trace:
#0 /usr/local/pkg/squid.inc(2273): squid_resync_cache()
#1 /etc/inc/pkg-utils.inc(787) : eval()'d code(1): squid_resync()
#2 /etc/inc/pkg-utils.inc(787): eval()
#3 /etc/inc/pkg-utils.inc(912): eval_once('squid_resync();')
#4 /etc/rc.packages(76): install_package_xml('squid')
#5 {main}
thrownpkg-static: POST-INSTALL script failed
but final message was
"Please visit Services - Squid Proxy Server menu to configure the package and enable the proxy.
Cleaning up cache... done.
Success"