Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg_edit.php:675 Stack trace: #0
-
pfBlockerNG v3.2.0_8
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg_edit.php:675 Stack trace: #0 {main} thrown in /usr/local/www/pkg_edit.php on line 675 PHP ERROR: Type: 1, File: /usr/local/www/pkg_edit.php, Line: 675, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg_edit.php:675 Stack trace: #0 {main} thrown
This message appears when you click in the menu "Firewall, pfBlockerNG". But after clicking on "pfBlockerNG" I can make all settings.
to Link - https://*****/pfblockerng/pfblockerng_general.php....................................................................................................................................................
This ist the Text in Line 675 pf pkg_edit.php :
// Now loop through all of the fields defined in the XML
if (!is_array($pkg['fields']['field'])) {
$pkg['fields']['field'] = array();
}
foreach ($pkg['fields']['field'] as $pkga) { -
@pfsense4me1 try to re-install the package.
-
Hello,
Thank you for the faster response.
Unfortunately, even after reinstalling there is no change, same error.Upgrading pfSense-pkg-pfBlockerNG...
Updating pfSense-core repository catalogue...
Fetching meta.conf:
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
pfSense repository is up to date.
All repositories are up to date.
The following 5 package(s) will be affected (of 0 checked):Installed packages to be UPGRADED:
gettext-runtime: 0.21.1 -> 0.22_1 [pfSense]
php82: 8.2.4 -> 8.2.11 [pfSense]
python311: 3.11.2_2 -> 3.11.4 [pfSense]
sqlite3: 3.41.0_1,1 -> 3.42.0,1 [pfSense]Installed packages to be REINSTALLED:
pfSense-pkg-pfBlockerNG-3.2.0_8 [pfSense]Number of packages to be upgraded: 4
Number of packages to be reinstalled: 1The process will require 4 MiB more space.
40 MiB to be downloaded.
[1/4] Fetching python311-3.11.4.pkg: .......... done
[2/4] Fetching php82-8.2.11.pkg: .......... done
[3/4] Fetching gettext-runtime-0.22_1.pkg: .......... done
[4/4] Fetching sqlite3-3.42.0,1.pkg: ....... done
Checking integrity... done (0 conflicting)
[1/5] Upgrading gettext-runtime from 0.21.1 to 0.22_1...
[1/5] Extracting gettext-runtime-0.22_1: .......... done
[2/5] Upgrading python311 from 3.11.2_2 to 3.11.4...
[2/5] Extracting python311-3.11.4: .......... done
[3/5] Upgrading php82 from 8.2.4 to 8.2.11...
[3/5] Extracting php82-8.2.11: .......... done
[4/5] Upgrading sqlite3 from 3.41.0_1,1 to 3.42.0,1...
[4/5] Extracting sqlite3-3.42.0,1: .......... done
[5/5] Reinstalling pfSense-pkg-pfBlockerNG-3.2.0_8...
[5/5] Extracting pfSense-pkg-pfBlockerNG-3.2.0_8: .......... done
ld-elf.so.1: Shared object "libcrypto.so.30" not found, required by "php"
pkg-static: DEINSTALL script failed
ld-elf.so.1: Shared object "libcrypto.so.30" not found, required by "php"
pkg-static: POST-INSTALL script failedCleaning up cache... done.
Erfolgreich -
What is your pfSense version ?
-
Netgate 7100 with
Version 23.05.1-RELEASE (amd64)
kompiliert am: Wed Jun 28 03:57:27 UTC 2023
FreeBSD 14.0-CURRENT -
@pfsense4me1 there is something wrong with the base pfSense install. Take a backup config, install. Do a fresh install and restore the backup config file.