Bug #8837
closed
PHP error when creating alias URL Table (IPs)
Added by Steve Harrington almost 8 years ago.
Updated almost 8 years ago.
Description
I was trying to follow the procedure described here to create a Netflix ipv6 alias.
https://forum.netgate.com/topic/101361/pfsense-plus-hurricane-electric-breaks-netflix-ipv6-proxy-error
I encountered the following error creating the alias.
PHP Errors:
[26-Aug-2018 12:09:01 EST5EDT] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/www/firewall_aliases.php on line 242
[26-Aug-2018 12:09:01 EST5EDT] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/www/firewall_aliases.php on line 242
[26-Aug-2018 12:09:49 EST5EDT] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /usr/local/www/firewall_aliases_edit.php:228
Stack trace:
#0 {main}
thrown in /usr/local/www/firewall_aliases_edit.php on line 228
- Category set to Web Interface
- Status changed from New to In Progress
- Assignee set to Anonymous
- Target version set to 2.4.4
- Affected Version set to All
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset commit:d6d46650d207cf0d37a2551a8a73a83aaf804672.
I applied the changes, and I'm still receiving the following PHP error. It looks like the fix got rid of the count() warnings.
PHP ERROR: Type: 1, File: /usr/local/www/firewall_aliases_edit.php, Line: 228, Message: Uncaught Error: [] operator not supported for strings in /usr/local/www/firewall_aliases_edit.php:228
The `[] operator not supported` error should be fixed in the next snap.
0a906fcc2e120e7dd290ce7faac1ba14a24f731b
This commit seems to have solved the issue.
- Status changed from Feedback to Resolved
Also available in: Atom