OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: ryscar on August 01, 2022, 03:17:28 AM

Title: [Solved] PHP nginx error after upgrading
Post by: ryscar on August 01, 2022, 03:17:28 AM
Just updated and am getting a PHP error for nginx that is giving me the following:

PHP Fatal error:  Uncaught ArgumentCountError: crypt() expects exactly 2 arguments, 1 given in /usr/local/opnsense/scripts/nginx/setup.php:231

This is preventing authentication to the reverse proxy. I can remove the User List but then I obviously really can't authenticate.
Title: Re: PHP nginx error after upgrading
Post by: franco on August 01, 2022, 09:59:15 AM
https://github.com/opnsense/plugins/commit/cc0605386cc4

# opnsense-patch cc0605386cc4


Cheers,
Franco
Title: Re: PHP nginx error after upgrading
Post by: ryscar on August 02, 2022, 01:01:09 AM
This absoutely fixed the problem. It will require a full reboot but things are now functioning as expected!  Thanks again for all your help!