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 - blaster

#1
General Discussion / Re: rollback version
December 20, 2022, 02:37:54 PM
in addition to the previous question. Is it possible to install a specific minor version rather than the latest one?
#2
22.7 Legacy Series / Re: PHP Fatal error after update
September 30, 2022, 09:13:01 AM
Quote from: franco on September 29, 2022, 08:11:23 AM
The install alone might not be enough... Worst case try to reboot and then it should start to emit the additional information in the crash report.
Tracelog for some reason did not appear. I made a test "helloworld" plugin that shows what's going on. It will work on older versions, but not on new ones.
#3
22.7 Legacy Series / Re: PHP Fatal error after update
September 28, 2022, 05:45:00 PM
Quote from: franco on September 28, 2022, 04:25:22 PM
Can you install os-debug? It will add a full stack trace to it.
But as far as I understand this is for a third party plugin not found on our GitHub?
Yes, you're right. Unfortunately, after installing the plugin, the report is the same, without stack trace.
The problem was that I used require_once 'config.inc' and the &config_read_array function to conveniently get filter rules, gateway groups, interfaces. Is there a legal analogue of this function for the MVC environment?
#4
22.7 Legacy Series / Re: PHP Fatal error after update
September 28, 2022, 10:01:15 AM
Quote from: franco on September 28, 2022, 08:56:58 AM
Is this from the crash reporter? System working regardless?

Yes, a message from crash reporter. The error occurs only when I load the index page of the plugin.
I'm trying to migrate a self-written plugin to a new version and trying to figure out what's going on, because there are no links to my code in the report.

#5
22.7 Legacy Series / PHP Fatal error after update
September 27, 2022, 03:53:16 PM
I can't find what went wrong, in the bug report I only have:

PHP Fatal error:  Cannot declare class OPNsense\Phalcon\Config\ConfigWrapper, because the name is already in use in /usr/local/opnsense/mvc/app/library/OPNsense/Phalcon/Config/Config.php on line 9

In previous versions everything worked, there was no ConfigWrapper.
There are no references to methods or information about what caused this error. What can I check?