Bug #70187 [NEW]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
From: pagescene at gmail dot com
Operating system: Windows 7
PHP version: 7.0.0beta2
Package: Unknown/Other Function
Bug Type: Bug
Bug description:[Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
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 bug report at https://bugs.php.net/bug.php?id=70187&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70187&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70187&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70187&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70187&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70187&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70187&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70187&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70187&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70187&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70187&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70187&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70187&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70187&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70187&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70187&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70187&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70187&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70187&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70187&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70187&r=mysqlcfg
Thread (13 messages)
- pagescene at gmail dot com
- cmb@php.netBug #70187 [Opn->Fbk]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- pagescene at gmail dot comBug #70187 [Fbk->Asn]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- pagescene at gmail dot comBug #70187 [Com]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- jhdxr@php.netBug #70187 [Opn->Fbk]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- cmb@php.netBug #70187 [Fbk]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- nikic@php.netBug #70187 [Fbk]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- nikic@php.netBug #70187 [Fbk]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- cmb@php.netBug #70187 [Fbk->Ver]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- pagescene at gmail dot comBug #70187 [Com]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- nikic@php.netBug #70187 [Ver]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- dmitry@php.netBug #70187 [Ver->Csd]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data
- pagescene at gmail dot comBug #70187 [Com]: [Introduced in PHP 7] Notice: unserialize(): Unexpected end of serialized data