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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
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)