From a759603b2acc38039f1c4db902af59f558c4c490 Mon Sep 17 00:00:00 2001 From: bruno Date: Wed, 17 May 2023 15:39:07 -0400 Subject: [PATCH] PHP Fatal error: Cannot unset --- include/phpAMI-1.0/phpAMI.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/phpAMI-1.0/phpAMI.php b/include/phpAMI-1.0/phpAMI.php index 0048a8d4..ac7ba406 100644 --- a/include/phpAMI-1.0/phpAMI.php +++ b/include/phpAMI-1.0/phpAMI.php @@ -1921,7 +1921,8 @@ class phpAMI{ * Destructor */ function __destruct() { - unset($this); + // PHP Fatal error: Cannot unset $this + //unset($this); } } ?> \ No newline at end of file