• Resolved hebhansen

    (@hebhansen)


    Hi

    I tested this plugin. Worked fine for a day with 1 successfull attachment. After one failed upload due to too large file, site crashed. In error log, this error generates at every plus 10 seconds:

    [16-Dec-2025 06:29:11 UTC] PHP Fatal error:  Cannot declare class ComposerAutoloaderInit12d0535f4e2cf349af8af64ab929be72, because the name is already in use in /my-site/public_html/wp-content/plugins/gd-bbpress-attachments/vendor/composer/autoload_real.php on line 5

    On frontend and backend, I get white screen of death and notification abput a critical error and how to debug.

    I have renamed “gd-bbpress-attachment” plugin in wp-content, which seems to fix the issue, however, that turns off the plugin. I am awaiting your response and meanwhile leaving plugin off.

    Thx

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Milan Petrovic

    (@gdragon)

    Hello,

    That is very strange, I have no control over how the composer autoloader is named, and it is impossible to have the duplicated name (or it should be impossible). I will try to see how that can happen at all.

    Milan

    Plugin Author Milan Petrovic

    (@gdragon)

    So, this is caused by the why how the Composer generates lock files, and it can happen that two plugins using same exact libraries get same composer content hash, causing conflict like this.

    I have released updated version of the plugin, and there should be no conflict anymore.

    Milan

    Thread Starter hebhansen

    (@hebhansen)

    I appreciate it Milan. I will give it a try after new year and then we see. Thx

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.