Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Grav admin panel - errors about "mysqli already loaded"

Started by Muut Archive 10 years ago · 1 replies · 488 views
10 years ago

Every time I access the admin panel (and only the admin panel -- no issues on my actual site), the following things happen. Any insight is appreciated...

1) I get a red error box saying "Fetch failed: Crikey! There was an error...", with more text below than the box can fit. Site inspection reveals the following:

TXT
admin.min.js?0495866071:4   Crikey! There was an error...
[some CSS]
Whoops \ Exception \ ErrorException (E_CORE_WARNING) Module 'mysqli' already loaded
Whoops\Exception\ErrorException thrown with message "Module 'mysqli' already loaded"
Stacktrace:
#0 Whoops\Exception\ErrorException in Unknown:0
COPY
Stack frames (1):
0
Whoops\Exception\ErrorException
Unknown0
Unknown
[lots of JS and other stuff]

and

TXT
admin.min.js?0495866071:1   POST http://[site]/admin 500 (Internal Server Error)

2) I get a log entry saying:
---[2016-09-27 10:22:15] grav.CRITICAL: Module 'mysqli' already loaded - Trace: #0 [site]/vendor/filp/whoops/src/Whoops/Run.php(363): Whoops\Run->handleError(32, 'Module 'mysqli'...', 'Unknown', 0) #1 [internal function]: Whoops\Run->handl eShutdown() #2 {main} [] []

10 years ago

That's a problem with your PHP setup, and would give an error with any PHP script. Grav doesn't even use mysqli it's just reporting a problem with the PHP configuration.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1359 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2957 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago