-
Notifications
You must be signed in to change notification settings - Fork 39
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
Message: preg_match(): Compilation failed: #13
Comments
I've not experienced that sort of error before. However, I need you to please do two things for me.
+1 for stating your PHP and CI versions. I'll be expecting your feedback. Cheers. |
Hello Seun, I've deployed CI on a large project and we're good with PHP 7.3. Going to be a bit hard for me to test 7.2. How do I enable to raw stack trace? Please look at the link below. The preg function was updated in PHP 7.3. |
Ha I see @Andrewsuares In case you fix it in your code, please be so kind as to create a PR for it here as well. |
Easy fix: you should escape "-" character. Fix at line 30 ;) |
I think also the same problem is at line 31: |
Another fix: line 35 from this |
Hello! Fixed bug: #14 |
Hello @Andrewsuares issue has been fixed in the new version release |
I finally got down to installing this update. Works brilliantly. The layout and the ability to see logs so easily just makes it great. Thank You for this!! PS: Maybe you could do one to view the apache error log files :) |
Hello, Any idea what could be wrong here?
CI_VERSION = '3.1.10';
PHP 7.3.4
A PHP Error was encountered
Severity: Warning
Message: preg_match(): Compilation failed: invalid range in character class at offset 33
Filename: src/CILogViewer.php
Line Number: 384
Backtrace:
File: /public_html/api/vendor/seunmatt/codeigniter-log-viewer/src/CILogViewer.php
Line: 384
Function: preg_match
File: /public_html/api/vendor/seunmatt/codeigniter-log-viewer/src/CILogViewer.php
Line: 285
Function: getLogLineStart
File: /public_html/api/vendor/seunmatt/codeigniter-log-viewer/src/CILogViewer.php
Line: 172
Function: processLogs
File: /public_html/api/application/modules/f_cp/controllers/F_cp.php
Line: 116
Function: showLogs
The text was updated successfully, but these errors were encountered: