You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Max UNGER (JIRA)" <ji...@apache.org> on 2017/03/21 16:03:41 UTC

[jira] [Created] (LOG4PHP-234) Two plugin using log4php produces Fatal, although include_once used

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)