Processing
 

Corrupt member variable name in bootstrap.php.cache

28/09/2014 20:31#1

Joined at: 7 months ago

Post: 1

Thank: 0

Thanked: 0

I've a problem with Symfony2 on Xubuntu since I installed it few hours ago: my Symfony project keep saying me :

Notice: Corrupt member variable name in /.../app/bootstrap.php.cache on line 2346 

I tried everything: rebuild the file, remove this particular line (it has the same problem on another line), remove it and copy it from elsewhere.

The problem stays. And it drives me crazy. Even worse, any other PHP project works well; I use phpMyAdmin without problems.

I use nginx + PHP-FPM and my PHP version is :

PHP 5.5.9-1ubuntu4.4 (cli) (built: Sep  4 2014 06:56:34)  Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies     with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies     with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans 

I can access to the site on the first load after a rebuild of the file, then it bugs. According to some things I found on Internet, it seems to be a problem of null-byte or something like that.

Has anyone already experienced a problem like that? How could I solve it?

Thanks by advance,

Titouan Galopin

28/09/2014 21:12Top#2

theofabry

Member

Joined at: 7 months ago

Post: 1

Thank: 0

Thanked: 0

Have you tried to clear the cache ?

php app/console cache:clear 
06/07/2016 13:10Top#3

Kim Light

Member

Joined at: 7 months ago

Post: 1

Thank: 0

Thanked: 0

This is bug in PHP.

It occurs if the class has a static field and the name of this field is one character.

Like this:

class Test{     static private $a=false; } 
Similar articles

Non-interactive method for dpkg-reconfigure tzdata

5 years ago - Reply: 3 - Views: 142

monit is not able to read mongod.lock

2 years ago - Reply: 3 - Views: 139

Ubuntu: hadoop command not found

2 years ago - Reply: 4 - Views: 244

C# Mono Console.ReadLine quitting

4 years ago - Reply: 1 - Views: 87

linking jsoncpp on Ubuntu

2 years ago - Reply: 1 - Views: 6

Build artifacts over ssh jenkins - PHP

2 years ago - Reply: 1 - Views: 38

Can't load Metasploit after installation

3 years ago - Reply: 5 - Views: 222

Selenium FirefoxDriver in Headless get error

2 years ago - Reply: 1 - Views: 96

Unable to start MongoDB. ERROR: addr already in use

2 years ago - Reply: 2 - Views: 120

ZSH Agnoster Theme showing machine name

2 years ago - Reply: 4 - Views: 248

Unable to start firefox browser with jenkins user

2 years ago - Reply: 2 - Views: 111

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re