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

cached-scripts page fatal error #104

Open
Steve8291 opened this issue Jul 7, 2019 · 0 comments
Open

cached-scripts page fatal error #104

Steve8291 opened this issue Jul 7, 2019 · 0 comments

Comments

@Steve8291
Copy link

I have just installed OpCacheGUI. It's fantastic! However, I keep getting a fatal error when I try to access the cached scripts page. It will show the cached scripts and allow me to Invalidate them but I lose the menu that allows me to navigate through "Status, Configuration, Cached Scripts, Graphs". Hitting the browser back button does bring me back. So it doesn't affect functionality but it is filling up my apache error.log
Here is the error:

Fatal error: Uncaught Error: Call to undefined function OpCacheGUI\Format\mb_substr() in /var/www/OpCacheGUI/src/OpCacheGUI/Format/Prefix.php:90 Stack trace: #0 /var/www/OpCacheGUI/src/OpCacheGUI/Format/Prefix.php(63): OpCacheGUI\Format\Prefix->findLongestPrefix('/var/www/OpCach...', '/var/www/OpCach...') #1 /var/www/OpCacheGUI/src/OpCacheGUI/Format/Prefix.php(34): OpCacheGUI\Format\Prefix->getPrefixLength(Array) #2 /var/www/OpCacheGUI/src/OpCacheGUI/OpCache/Status.php(286): OpCacheGUI\Format\Prefix->trim(Array) #3 /var/www/OpCacheGUI/template/cached.phtml(80): OpCacheGUI\OpCache\Status->getCachedScriptsForOverview(Object(OpCacheGUI\Format\Prefix)) #4 /var/www/OpCacheGUI/src/OpCacheGUI/Presentation/Html.php(79): require('/var/www/OpCach...') #5 /var/www/OpCacheGUI/src/OpCacheGUI/Presentation/Html.php(64): OpCacheGUI\Presentation\Html->renderTemplate('cached.phtml') #6 /var/www/OpCacheGUI/routes.php(51): OpCacheGUI\Presentation\Html->render('cached.phtml', Array) #7 /var/www/OpCacheGUI/src/OpCacheGUI/Network/Route.php(74): in /var/www/OpCacheGUI/src/OpCacheGUI/Format/Prefix.php on line 90

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

1 participant