Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preg_match: compilation failed error #406

Open
5 tasks done
skeeith opened this issue Aug 12, 2019 · 1 comment
Open
5 tasks done

preg_match: compilation failed error #406

skeeith opened this issue Aug 12, 2019 · 1 comment

Comments

@skeeith
Copy link

skeeith commented Aug 12, 2019

Before submitting your issue, please make sure that you've checked all of the checkboxes below.

  • You're running the latest release version of Deployer.
  • Ensure that you're running at least PHP 7.0.8, you can check this by running php -v
  • You've ran composer install --no-dev from the root of your installation.
  • You've ran npm install --production from the root of your installation.
  • You've ran rm -rf bootstrap/cache/* from the root of your installation.
  • [ x You have restarted the queue listener and node socket server.

Describe the bug

I tried creating a new project and the network tab on developer console is saying this error

preg_match(): Compilation failed: invalid range in character class at offset 1825

Expected behaviour

It will properly create the new project

Actual behaviour

the /project api responded this error preg_match(): Compilation failed: invalid range in character class at offset 1825

Steps to reproduce

fresh AWS server
install latest PHP 7.1
install latest MySQL 5.7
install latest NGINX 1.16

Screenshots

If applicable, add screenshots to help explain your problem.

Environment info

Visit /admin/sysinfo on your install and click the "Get System Report" button. Paste the report here, if you can't
please provide the following instead.

  • Operating System: Ubuntu 18.04.3 LTS
  • PHP Version: 7.1.13
  • Node Version: 12.8.0
  • Database System: MySQL
  • Database Version: 5.7

Logs (see storage/logs/) or other output that would be helpful

(If logs are large, please upload as attachment).

[2019-08-12 22:06:12] local.ERROR: ErrorException: preg_match(): Compilation failed: invalid range in character class at offset 1825 in /var/www/deployer/vendor/laravel/framework/src/Illuminate/Validation/Concerns/ValidatesAttributes.php:1356 Stack trace:

@emielmolenaar
Copy link
Contributor

This happened to me while running PHP 7.3. Downgrading to PHP 7.2 seems to workaround this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants