logging-log4php-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max UNGER (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4PHP-234) Two plugin using log4php produces Fatal, although include_once used
Date Tue, 21 Mar 2017 16:03:41 GMT
Max UNGER created LOG4PHP-234:
---------------------------------

             Summary: Two plugin using log4php produces Fatal, although include_once used
                 Key: LOG4PHP-234
                 URL: https://issues.apache.org/jira/browse/LOG4PHP-234
             Project: Log4php
          Issue Type: Bug
         Environment: ubuntu LTS 16
            Reporter: Max UNGER
            Priority: Critical


Two wordpress plugins on the same install using log4php, loaded as explained in doc produce
fatal error when used together:

PHP Fatal error:  Cannot declare class LoggerAutoloader, because the name is already in use
in /var/www/yyyyyyy.com/wp-content/plugins/myplugin/libs/log4php/2.3.0/LoggerAutoloader.php
on line 34

no change if include_once used instead of include



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message