▶ Reproduction steps
The website is showing HTTP 500 as soon as the user signup. Instead, it can show the user's signup done and waiting for validation, and the admin can do the validation manually. It is now breaking.
📃 Error log message
Aw, snap! Internal Server Error [debug @ error_log] - https://v3-docs.chevereto.com/setup/troubleshoot/debug.html
** errorId #82d43f47d1cefb9c **
Message-ID: <y6Cn6P0plxEnVTmY6weu4NP94Ohw4dfn2JeULqRCEU@im.ge>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_y6Cn6P0plxEnVTmY6weu4NP94Ohw4dfn2JeULqRCEU"
Content-Transfer-Encoding: 8bit
Additional params: -ffrom@chevereto.exampleResult: falseCould not instantiate mail function.
At /app/lib/functions.php:169
Stack trace:
#0 /app/routes/route.signup.php(215): CHV\send_mail()
#1 /lib/G/classes/class.handler.php(230): G\Handler->{closure}()
#2 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#3 /app/web.php(411): G\Handler->__construct()
#4" while reading response header from upstream, client: x.x.x.x, server: im.ge, request: "POST /signup HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/xxxx.sock:", host: "x.x.x.x", referrer: "http://x.x.x.x/signup"
- Created a new site by fresh install
- Did not setup the email config
- Tried to signup, after completion it is showing HTTP 500
The website is showing HTTP 500 as soon as the user signup. Instead, it can show the user's signup done and waiting for validation, and the admin can do the validation manually. It is now breaking.
📃 Error log message
Aw, snap! Internal Server Error [debug @ error_log] - https://v3-docs.chevereto.com/setup/troubleshoot/debug.html
** errorId #82d43f47d1cefb9c **
From: Chevereto <from@chevereto.example>> Exception [300]: Sending with mail()Sendmail path: /usr/sbin/sendmail -t -iEnvelope sender: from@chevereto.exampleTo: demo2@demo.comSubject: Confirmation required at CheveretoHeaders: Date: Sun, 13 Jun 2021 12:23:04 -0400
Message-ID: <y6Cn6P0plxEnVTmY6weu4NP94Ohw4dfn2JeULqRCEU@im.ge>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_y6Cn6P0plxEnVTmY6weu4NP94Ohw4dfn2JeULqRCEU"
Content-Transfer-Encoding: 8bit
Additional params: -ffrom@chevereto.exampleResult: falseCould not instantiate mail function.
At /app/lib/functions.php:169
Stack trace:
#0 /app/routes/route.signup.php(215): CHV\send_mail()
#1 /lib/G/classes/class.handler.php(230): G\Handler->{closure}()
#2 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#3 /app/web.php(411): G\Handler->__construct()
#4" while reading response header from upstream, client: x.x.x.x, server: im.ge, request: "POST /signup HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/xxxx.sock:", host: "x.x.x.x", referrer: "http://x.x.x.x/signup"