![php - "preg_match_all() expects parameter 2 to be string, resource given" Errors sending email with PHPMailer and posgresql - Stack Overflow php - "preg_match_all() expects parameter 2 to be string, resource given" Errors sending email with PHPMailer and posgresql - Stack Overflow](https://i.stack.imgur.com/C5g7T.png)
php - "preg_match_all() expects parameter 2 to be string, resource given" Errors sending email with PHPMailer and posgresql - Stack Overflow
![Warning: preg_match() expects parameter 2 to be string, array given in - General topics - PrestaShop Forums Warning: preg_match() expects parameter 2 to be string, array given in - General topics - PrestaShop Forums](https://www.prestashop.com/forums/applications/core/interface/email/default_photo.png)
Warning: preg_match() expects parameter 2 to be string, array given in - General topics - PrestaShop Forums
![Warning: preg_match() expects parameter 2 to be string, object given in FFMpeg\FFProbe\OptionsTester->has() (line 44 of vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php) [#2851222] | Drupal.org Warning: preg_match() expects parameter 2 to be string, object given in FFMpeg\FFProbe\OptionsTester->has() (line 44 of vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php) [#2851222] | Drupal.org](https://www.drupal.org/files/issues/Screenshot_1_56.png)
Warning: preg_match() expects parameter 2 to be string, object given in FFMpeg\FFProbe\OptionsTester->has() (line 44 of vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php) [#2851222] | Drupal.org
preg_match() expects parameter 2 to be string, object given · Issue #1052 · Icinga/icingaweb2-module-director · GitHub
Warning: preg_match() expects parameter 2 to be string, object given in vendor/sentry/sentry/lib/Raven/SanitizeDataProcessor.php on line 54 · Issue #300 · getsentry/sentry-php · GitHub
![Form] preg_match() expects parameter 2 to be string, object given · Issue #36734 · symfony/symfony · GitHub Form] preg_match() expects parameter 2 to be string, object given · Issue #36734 · symfony/symfony · GitHub](https://user-images.githubusercontent.com/3371705/81276217-02b01180-9053-11ea-9038-afeb5c243a60.png)