Bug #70187 [Opn->Fbk]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data

From: Date: Mon, 03 Aug 2015 12:57:07 +0000
Subject: Bug #70187 [Opn->Fbk]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194933@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70187&edit=1 ID: 70187 Updated by: cmb@php.net Reported by: pagescene at gmail dot com Summary: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data -Status: Open +Status: Feedback Type: Bug Package: Unknown/Other Function Operating System: Windows 7 PHP Version: 7.0.0beta2 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Have you consulted a Drupal support channel? It is possible that Drupal 7 is not supposed to be compatible with PHP 7. Previous Comments: ------------------------------------------------------------------------ [2015-08-03 07:22:44] pagescene at gmail dot com Description: ------------ Conf: Drupal site (version 7) latest release. Inside Drupal's Views display pages I get: Notice: unserialize(): Unexpected end of serialized data in ctools_object_cache_get() (line 48 of C:\WWW\int\sites\all\modules\ctools\includes\object-cache.inc). Notice: unserialize(): Error at offset 15910 of 74156 bytes in ctools_object_cache_get() (line 48 of C:\WWW\int\sites\all\modules\ctools\includes\object-cache.inc). While editing Drupal's views displays, cTools stores modifications inside Drupal's cache tables before they are saved permanently inside the DB. This functionality is also affected: settings are never saved to the DB and they revert always to the ones set up previously under PHP 5.6. Related issue: trying to add a new page to an existing view returns unauthorized message (e.g. you are not authorized to access this page). All this was working very fine under PHP 5.6 but got introduced in PHP 7. Any idea what might be going on here? Thanks. Test script: --------------- http://www.drupalcontrib.org/api/drupal/contributions%21ctools%21includes%21object-cache.inc/function/ctools_object_cache_get/7 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70187&edit=1

« previous php.bugs (#194933) next »