Bug #14407
closedpfSense-pkg-syslog-ng package error
100%
Description
Syslog-ng package throws an error during the installation like below.
New packages to be INSTALLED:
pfSense-pkg-syslog-ng: 1.15_13 [pfSense]
Number of packages to be installed: 1
[1/1] Installing pfSense-pkg-syslog-ng-1.15_13...
[1/1] Extracting pfSense-pkg-syslog-ng-1.15_13: .......... done
Saving updated package information...
done.
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/syslog-ng.inc:299
Stack trace:
#0 /usr/local/pkg/syslog-ng.inc(46): syslogng_resync()
#1 /etc/inc/pkg-utils.inc(783) : eval()'d code(1): syslogng_install_command()
#2 /etc/inc/pkg-utils.inc(783): eval()
#3 /etc/inc/pkg-utils.inc(901): eval_once('syslogng_instal...')
#4 /etc/rc.packages(76): install_package_xml('syslog-ng')
#5 {main}
thrown in /usr/local/pkg/syslog-ng.inc on line 299
PHP ERROR: Type: 1, File: /usr/local/pkg/syslog-ng.inc, Line: 299, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/syslog-ng.inc:299
Stack trace:
#0 /usr/local/pkg/syslog-ng.inc(46): syslogng_resync()
#1 /etc/inc/pkg-utils.inc(783) : eval()'d code(1): syslogng_install_command()
#2 /etc/inc/pkg-utils.inc(783): eval()
#3 /etc/inc/pkg-utils.inc(901): eval_once('syslogng_instal...')
#4 /etc/rc.packages(76): install_package_xml('syslog-ng')
#5 {main}
thrownpkg-static: POST-INSTALL script failed
Cleaning up cache... done.
Success