Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - namphy

#1
Thank you for the clarification. I can confirm that this was indeed the issue (we removed old rules after migration by running the removal script). I applied your suggested workaround by adding an old style rule, and after that I was able to successfully delete the gateway group.

Thanks again for the guidance!
#2
Hello,
I'm currently running OPNsense version 26.1.2. When I attempt to remove a gateway group, I receive the following error:

PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/system_gateway_groups.php:41
This error prevents the gateway group from being removed. The gateway group was created by mistake, as I only have one gateway. I can reproduce this issue by creating a second gateway group, adding my gateway to it, and then attempting to remove the group. The same error occurs, and the gateway is not removed.

I have two OPNsense routers, and I was able to replicate this issue on both of them.

Let me know if you need any additional information.

Error Details:

[REDACTED-TIMESTAMP] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/system_gateway_groups.php:41
Stack trace:
#0 {main}
  thrown in /usr/local/www/system_gateway_groups.php on line 41
[REDACTED-TIMESTAMP] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/system_gateway_groups.php:41
Stack trace:
#0 {main}
  thrown in /usr/local/www/system_gateway_groups.php on line 41