<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PHP Fatal error]]></title><description><![CDATA[<p dir="auto">Running into a PHP fatal error while attempting to access the <code>Firewall &gt; Rules</code> menu. I can not review existing rules or add new ones without access to the menu through the GUI.</p>
<p dir="auto"><strong>PHP Error message</strong></p>
<pre><code>arm
15.0-CURRENT
FreeBSD 15.0-CURRENT #0 plus-RELENG_24_11-n256407-1bbb3194162: Fri Nov 22 05:04:59 UTC 2024     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_11-main/obj/armv7/k0yp0fpJ/var/jenkins/workspace/pfSense-Plus-snapshots-24_11-main/sources/FreeBS

Crash report details:

PHP Errors:
[29-Sep-2025 17:21:15 America/New_York] PHP Fatal error:  Uncaught TypeError: format_number(): Argument #1 ($num) must be of type int, float given, called in /usr/local/www/firewall_rules.php on line 125 and defined in /etc/inc/util.inc:2585
Stack trace:
#0 /usr/local/www/firewall_rules.php(125): format_number()
#1 /usr/local/www/firewall_rules.php(841): print_states()
#2 {main}
  thrown in /etc/inc/util.inc on line 2585
</code></pre>
<p dir="auto">I appreciate any help in resolving this issue.</p>
]]></description><link>https://forum.netgate.com/topic/198910/php-fatal-error</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 00:39:30 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/198910.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Sep 2025 21:30:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PHP Fatal error on Wed, 01 Oct 2025 06:34:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsseb">@<bdi>jsseb</bdi></a> said in <a href="/post/1226866">PHP Fatal error</a>:</p>
<blockquote>
<p dir="auto">.. but they have been in place since day one.</p>
</blockquote>
<p dir="auto">For what it's worth : I'm seeing the same thing :</p>
<p dir="auto"><img src="/assets/uploads/files/1759300409504-92aa08e1-c0a0-46cf-b8e6-884b5af6d3c4-image.png" alt="92aa08e1-c0a0-46cf-b8e6-884b5af6d3c4-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">which looks like a floating number, but isn't ...<br />
I've 16 of them.<br />
Using 25.07.1 for weeks now.<br />
So, whatever the issue was, this wasn't it.</p>
]]></description><link>https://forum.netgate.com/post/1226954</link><guid isPermaLink="true">https://forum.netgate.com/post/1226954</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Wed, 01 Oct 2025 06:34:48 GMT</pubDate></item><item><title><![CDATA[Reply to PHP Fatal error on Tue, 30 Sep 2025 22:53:14 GMT]]></title><description><![CDATA[<p dir="auto"><code>UPDATE: ISSUE CLOSED</code><br />
Since I could afford a bit of downtime, I ended up upgrading to 25.7.1, and all is working as expected now. Although I’m still working, this could’ve been caused by a hung process that a reboot might have resolved.</p>
<p dir="auto">I'll submit a bug report to the team and see if there's anything they could find, but suspect it a tricky one since the error message didn't point to any specific package that would've caused the issue.</p>
]]></description><link>https://forum.netgate.com/post/1226946</link><guid isPermaLink="true">https://forum.netgate.com/post/1226946</guid><dc:creator><![CDATA[jsseb]]></dc:creator><pubDate>Tue, 30 Sep 2025 22:53:14 GMT</pubDate></item><item><title><![CDATA[Reply to PHP Fatal error on Tue, 30 Sep 2025 13:49:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a>, it appears the only float numbers I have in the rules are under Outbound NAT rules; specifically, the <code>associated-rule-id</code>, e.g., (<code>&lt;associated-rule-id&gt;nat_663be24b04f294.10942082&lt;/associated-rule-id&gt;</code>). I have about four of these, the only ones, but they have been in place since day one.</p>
]]></description><link>https://forum.netgate.com/post/1226866</link><guid isPermaLink="true">https://forum.netgate.com/post/1226866</guid><dc:creator><![CDATA[jsseb]]></dc:creator><pubDate>Tue, 30 Sep 2025 13:49:44 GMT</pubDate></item><item><title><![CDATA[Reply to PHP Fatal error on Tue, 30 Sep 2025 14:41:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/patient0">@<bdi>patient0</bdi></a>, thanks for the response and suggestions here. I haven’t considered upgrading my current <code>SG-3100 ARM</code> device, mainly due to DHCP issues, but I know I can switch back to ISC instead of Kea, as I am currently doing, to avoid these issues. Nonetheless, I could restore to a 25.7 VM and see if I encounter the problem.</p>
<hr />
<p dir="auto">EDIT: Forgot this would have to be a CE VM.</p>
]]></description><link>https://forum.netgate.com/post/1226865</link><guid isPermaLink="true">https://forum.netgate.com/post/1226865</guid><dc:creator><![CDATA[jsseb]]></dc:creator><pubDate>Tue, 30 Sep 2025 14:41:12 GMT</pubDate></item><item><title><![CDATA[Reply to PHP Fatal error on Tue, 30 Sep 2025 07:17:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsseb">@<bdi>jsseb</bdi></a></p>
<p dir="auto">Export your config, and open the obtained xml file with a text editor.<br />
Serach</p>
<pre><code>&lt;filter&gt;
</code></pre>
<p dir="auto">The filters section has &lt;rule&gt; section, and each rule section is a firewall rule.</p>
<p dir="auto">Now look for what seems strange ... like a number that is stored as a float (a number with a decimal point).</p>
]]></description><link>https://forum.netgate.com/post/1226842</link><guid isPermaLink="true">https://forum.netgate.com/post/1226842</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Tue, 30 Sep 2025 07:17:12 GMT</pubDate></item><item><title><![CDATA[Reply to PHP Fatal error on Tue, 30 Sep 2025 06:18:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsseb">@<bdi>jsseb</bdi></a> it looks like a bug and none of the patches for 24.11 seems to address that.</p>
<p dir="auto">Is an upgrade to 25.7 an option, to see if it's solved? Are you using the ZFS file system, then roll-back would be easy in case of (other) issues.</p>
<p dir="auto">If not, opening a bug report on https://redmine.pfsense.org would be the other option.</p>
]]></description><link>https://forum.netgate.com/post/1226841</link><guid isPermaLink="true">https://forum.netgate.com/post/1226841</guid><dc:creator><![CDATA[patient0]]></dc:creator><pubDate>Tue, 30 Sep 2025 06:18:19 GMT</pubDate></item></channel></rss>