Error: Call to undefined function escapeshellcmd or escapeshellarg in PhpMail with Drupal 10.4.x using PHP 8.2/8,3/8.4 when submitting webform (on the front-end, a fatal error is displayed)
If the below errors occur when trying to submit a webform (error log).
Check if escapeshellcmd and escapeshellarg are disabled and enable these in the PHP settings of your hosting: Under PHP options, remove them from "disable_functions".

Read more articles
- Log in to post comments