OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: annoniempjuh on July 07, 2021, 12:33:28 PM

Title: 20.1.8 php error
Post by: annoniempjuh on July 07, 2021, 12:33:28 PM
updated to 20.1.8, now i got een notification from the GUI with the following error:

[07-Jul-2021 12:21:15 Europe/Amsterdam] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/local/etc/inc/IPv6.inc on line 683
[07-Jul-2021 12:21:17 Europe/Amsterdam] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/local/etc/inc/IPv6.inc on line 683
[07-Jul-2021 12:21:30 Europe/Amsterdam] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/local/etc/inc/IPv6.inc on line 683
[07-Jul-2021 12:21:36 Europe/Amsterdam] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/local/etc/inc/IPv6.inc on line 683
[07-Jul-2021 12:21:42 Europe/Amsterdam] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/local/etc/inc/IPv6.inc on line 683
[07-Jul-2021 12:21:48 Europe/Amsterdam] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/local/etc/inc/IPv6.inc on line 683


not sure what i can do?
Title: Re: 20.1.8 php error
Post by: franco on July 07, 2021, 12:43:35 PM
Looks harmless, patch here: https://github.com/opnsense/core/commit/b74b3799

# opnsense-patch b74b3799


Cheers,
Franco
Title: Re: 20.1.8 php error
Post by: annoniempjuh on July 07, 2021, 01:41:14 PM
thnx! ;D
Title: Re: 20.1.8 php error
Post by: JasMan on July 07, 2021, 08:17:42 PM
Same here!
Thank you  :)
Title: Re: 20.1.8 php error
Post by: franco on July 07, 2021, 08:41:50 PM
Seems to be a Sensei thing. We will hotfix this soon.


Cheers,
Franco
Title: Re: 20.1.8 php error
Post by: JasMan on July 07, 2021, 08:54:57 PM
Yep, I can confirm this.

After the update Sensei said that it needs to start "Elasticsearch DB" to show the reports. When I clicked "Yes" to confirm, the process "eastpect" consumed permanently 100% CPU, and the "There was an error" message on the dashboard appeared, which showed me the "PHP deprecated" message.