Bug #20976 [Com]: Making static method non static - isError

From: Date: Wed, 11 May 2016 16:34:52 +0000
Subject: Bug #20976 [Com]: Making static method non static - isError
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11326@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=20976&edit=1 ID: 20976 Comment by: cody Reported By: dmc187 at dmc187 dot de Summary: Making static method non static - isError Status: Open Type: Bug Package: Mail_Queue Operating System: Linux CentOS Package Version: 1.2.7 PHP Version: 5.4.45 New Comment: It is still broken, patch-link doesnt work (anymore?) ! Previous Comments: ------------------------------------------------------------------------ [2016-03-17 09:01:24] artur link for patch dose't work (( ------------------------------------------------------------------------ [2015-10-29 11:14:52] mariom Added #patch bug:20976;patch:iserror.patch;revision:1446117292;. ------------------------------------------------------------------------ [2015-10-29 11:13:01] mariom Description: ------------ Hi, Mail_Queue is broken, as it tries to make static method PEAR::isError() nonstatic on line 590 in Mail_Queue.php Just adding the keyword "static" fixes the problem. Test script: --------------- <?php printf("before\n"); require_once 'Mail/Queue.php'; printf("after\n"); Expected result: ---------------- before after Actual result: -------------- before PHP Fatal error: Cannot make static method PEAR::isError() non static in class Mail_Queue in /usr/share/pear/Mail/Queue.php on line 126 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=20976&edit=1

« previous php.pear.bugs (#11326) next »