D
D
Dmitry Vyatkin2015-05-31 02:11:02
Laravel
Dmitry Vyatkin, 2015-05-31 02:11:02

Why is Laravel5 complaining about preg_replace_callback() function and not loading pages?

Good afternoon! laravel5 gives this error out of the box when loading the home page:
ErrorException in compiled.php line 14145: preg_replace_callback(): Compilation failed: internal error: previously-checked referenced subpattern not found at offset 47
Files without blade extension are loaded.
Whoever faced? Help me decide!
Server version: Apache/2.2.22 (Debian)
PHP 5.5.25-1~dotdeb+7.1

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Vyatkin, 2015-07-03
@dim137

It was the system and the update from version 5.4

V
Vyacheslav Plisko, 2015-05-31
@AmdY

Everything is written in the error, you have some kind of tag not closed, invalid template, hence the error.

A
Andrey Degtyaruk, 2015-06-15
@hlogeon

The problem is not with the tag, as mentioned above, but with the php environment, namely that the PCRE version does not match the PHP version. The question is not to Lravel but to those who compiled your PHP.
There is a quick crutch, but when I use it, it refuses to work {!! !!} sample.
Replace your Compiler with this
https://raw.githubusercontent.com/laravel/framewor...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question