os-acme-client error in 20.1.7

Started by dinguz, May 22, 2020, 09:10:09 PM

Previous topic - Next topic
After the upgrade, I get this warning every time the script is being run from cron:

20 00:05:00 Europe/Amsterdam] PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/local/opnsense/scripts/OPNsense/AcmeClient/certhelper.php on line 1421
[22-May-2020 00:05:00 Europe/Amsterdam] PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/local/opnsense/scripts/OPNsense/AcmeClient/certhelper.php on line 1428
In theory there is no difference between theory and practice. In practice there is.

Same here. Probably related to PHP 7.3 update?
But it's just a warning, I haven't observed any actual malfunction. Did you?
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

Same here, but no problems observed...


Slipped through our screening process, but at least has no averse affects on operation.


Cheers,
Franco

It generated an "issue has occurred, report it" warning for me overnight. Glad it's been fixed..

Quote from: cpw on May 24, 2020, 04:02:42 PM
It generated an "issue has occurred, report it" warning for me overnight. Glad it's been fixed..

Just disable the "AcmeClient Cronjob" until the next update... (do not forget to renew the certificates before)

Why o why, it's just a warning pointing to bad programming style and everything keeps working. Disabling your cron job will disable your renew...


Cheers,
Franco