PHP Fatal error: Uncaught ValueError: array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements in /usr/local/www/includes/functions.inc.php:93
-
Thanks.
Before I was getting a memory php bug which is fixed with patching.
https://forum.netgate.com/topic/183547/uncaught-divisionbyzeroerror/4?_=1698078621847I run PFblockerNG & NtoPNG so it could be caused by those?
Not doing anything in particular just when I log in to check every few days it has these reports.
No major system crashes.
It just I didn't get these on the old machine which was this: https://www.jetwaycomputer.com/NF9HG.html
vs this for new intel n100 machine: https://www.aliexpress.us/item/3256804950570517.html?spm=a2g0o.order_list.order_list_main.10.9ad21802DJB14L&gatewayAdapt=glo2usa4itemAdapt23.05.1-RELEASE (amd64)
-
No it looks like the same issue with sysclts returning null values for some reason.
Looking at all the report though it does look like it might be related to the CPU type. Everyone who has reported it seems to be using an Intel Nxxx CPU based system.
-
Would it be helpful to most more logs or is there any other data I can help collect?
-
I'm not sure there is anything more logged there right now.
As with the other errors there I would try to replicate what's being called via sysctl there. However when we have previously done that it always returns the expected value.
https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/includes/functions.inc.php#L93So:
[23.09-BETA][admin@6100.stevew.lan]/root: sysctl kern.cp_time kern.cp_time: 196916 11346 126361 1410 4276799
Are you also running an Alder Lake-N CPU?
-
@stephenw10 yes intel n100 is alder-lake.
https://ark.intel.com/content/www/us/en/ark/products/231803/intel-processor-n100-6m-cache-up-to-3-40-ghz.html -
Gah too many threads! I thought I'd seen you were running anN100 but failed to find it last night. We are investigating...
-
@stephenw10 No worries.
Got this one just now.
The odd thing is there is no 'opt1'.
This machine has 'igc0' - 'igc3'.
PHP ERROR: Type: 1, File: /etc/inc/pfsense-utils.inc, Line: 1730, Message: Uncaught TypeError: Unsupported operand types: string + null in /etc/inc/pfsense-utils.inc:1730 Stack trace: #0 /usr/local/www/widgets/widgets/interfaces.widget.php(101): get_interface_info('opt1') #1 /usr/local/www/index.php(430): include('/usr/local/www/...') #2 {main} thrown @ 2023-10-24 16:27:29
-
@dopeytree said in PHP Fatal error: Uncaught ValueError: array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements in /usr/local/www/includes/functions.inc.php:93:
pfsense-utils.inc:1730
Hmm, that seems unrelated. No sysctls involved there that I can see: https://github.com/pfsense/pfsense/blob/master/src/etc/inc/pfsense-utils.inc#L1730
opt1 is the internal name, the first interface after wan and lan.
-
@stephenw10 Also for the record the n100 device came with opnsense preinstalled.
I chose to install pfsenseplus (as we were encouraged as a free upgrade to pfsenseCE) and this is was I had been running on the previous self build box. I'll probably now go to opnsense or another brand of firewall as can't afford $399 yearly for support on a home box (not commercial).
Although CE still exists as a 'free' option the drivers are or were behind especially 2.5GB drivers. and I highly expect it will be killed off in the future.
Would love to see negate update the hardware offerings with a small 4x port 2.5GB box at around $399-£599.
Or a new $129 yearly subscription like had been planned. This would then support the pfsenseplus brand too. -
I understand. Thanks for the feedback.