Show us the code where that error is talking about?
Could be PHP version but they use >= 5.5?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I have setup my laravel instance on cloudways (digitalocean) using their pre install of laravel.
I get the error listed below when trying to run the application, to test I downloaded the code to see if it would work locally and it does, no errors when ran on xampp locally, so I believe it is the way it is hosted?
ErrorException in BladeCompiler.php line 261: preg_replace_callback(): Compilation failed: internal error: previously-checked referenced subpattern not found at offset 47
in BladeCompiler.php line 261
at HandleExceptions->handleError('2', 'preg_replace_callback(): Compilation failed: internal error: previously-checked referenced subpattern not found at offset 47', '/home/25887-16990.cloudwaysapps.com/azvdxyphuz/public_html/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php', '261', array('value' => '@extends('layouts.twocolumnhome') @section('content')
Please or to participate in this conversation.