Uncaught ErrorException: preg_match_all(): JIT compilation failed: no more memory

If pcre.jit = 0 pcre.jit=0 pcre.jit = Off in php.ini, not worked, try this:

I suppose you installed php 7.3 through homebrew.

If so, create a zzz-myphp.ini in /usr/local/etc/php/7.3/conf.d with the following content:

; My php.ini settings
; Fix for PCRE "JIT compilation failed" error
[Pcre]
pcre.jit=0

If this also doesn't work, uninstall php7.3 and install 7.2 or 7.1

brew uninstall [email protected]

Edit the following file

/usr/local/etc/php/7.3/php.ini

Find and change the pcre.jit variable

pcre.jit=0

If the issue remains

Try restarting your computer.