Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-234

Two plugin using log4php produces Fatal, although include_once used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • ubuntu LTS 16

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            crouti Max UNGER
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: