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

grav.CRITICAL: ob_start(): function 'ob_gzhandler' not found or invalid function

Started by Muut Archive 10 years ago · 4 replies · 785 views
10 years ago

I'm not really sure what to do with this one.

10 years ago

Here's the full error:

PHP
[2015-12-27 20:07:32] grav.CRITICAL: ob_start(): function 'ob_gzhandler' not found or invalid function name - Trace: #0 [internal function]: Whoops\Run->handleError(2, 'ob_start(): fun...', '/srv/www/myempt...', 205, Array) #1 /srv/www/myempty.space/myempty/system/src/Grav/Common/Grav.php(205): ob_start('ob_gzhandler') #2 /srv/www/myempty.space/myempty/index.php(37): Grav\Common\Grav->process() #3 {main} [] []
10 years ago

Hi, turn off "Gzip compression" in the System configuration. I think your server does not come with ZLib enabled in PHP, and this causes the problem

10 years ago

Thanks! Now I'm getting: E_ERROR - Call to undefined function Doctrine\Common\Cache\hash()

10 years ago

Sounds like you have some of the vendor libraries missing?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1352 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4063 9 years ago
Archive · by Muut Archive, 9 years ago
1 2949 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago