-
-
Notifications
You must be signed in to change notification settings - Fork 184
Description
Page caching is working in redis version
=> Redis server v=2.8.4 sha=00000000:0 malloc=jemalloc-3.4.1 bits=64 build=a44a05d76f06a5d9
=> yii 2.0.7 | PHP 5.5.9-1 | ubuntu4.17
But its not working in below version
=>Redis server v=3.2.1 sha=00000000:0 malloc=jemalloc-4.0.3 bits=64 build=4088abd4b3d654a1
=> yii 2.0.7 | PHP 5.5.37 (cli) | CentOS release 6.8 (Final)
Showing following error
An Error occurred while handling another error:
exception 'yii\base\InvalidCallException' with message 'Unexpected yii\widgets\FragmentCache::end() call. A matching begin() is not found.' in /home/public_html/vendor/yiisoft/yii2/base/Widget.php:83
Stack trace:
#0 /home/public_html/vendor/yiisoft/yii2/base/View.php(475): yii\base\Widget::end()
#1 /home/public_html/vendor/yiisoft/yii2/filters/PageCache.php(214): yii\base\View->endCache()
#2 [internal function]: yii\filters\PageCache->cacheResponse(Object(yii\base\Event))
#3 /home/public_html/vendor/yiisoft/yii2/base/Component.php(541): call_user_func(Array, Object(yii\base\Event))
#4 /home/public_html/vendor/yiisoft/yii2/web/Response.php(316): yii\base\Component->trigger('afterSend')
#5 /home/public_html/vendor/yiisoft/yii2/web/ErrorHandler.php(126): yii\web\Response->send()
#6 /home/public_html/vendor/yiisoft/yii2/base/ErrorHandler.php(109): yii\web\ErrorHandler->renderException(Object(yii\db\Exception))
#7 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\db\Exception))
#8 {main}
Previous exception:
exception 'yii\db\Exception' with message 'Redis error: ERR wrong number of arguments for 'set' command
`Redis command was: SET 106673edd0deebb81340fa78d36776db a:2:{i:0;a:2:{i:0;s:18723:"