Session-Class icon indicating copy to clipboard operation
Session-Class copied to clipboard

fatal error in php 7.1

Open ddanforthmrss opened this issue 7 years ago • 1 comments

PHP Fatal error: Cannot unset $this in /rcastera/session/src/rcastera/Browser/Session/Session.php on line 40

looks like it's a 7.1 compatability issue

ddanforthmrss avatar Jul 28 '17 01:07 ddanforthmrss

Just comment out or delete the __destruct() function problem solved. The destructor is being called when an object is being deleted (destroyed) the unset is a method deleting (destroying) an object - thus calling a possible destructor.

danutz0501 avatar Apr 28 '18 16:04 danutz0501