Bug Found

  • Author
    Posts
  • #260159

    fifiontoys
    Participant

    Hello, I found a case-sensitivity bug in AFFI – WooCommerce Affiliate Marketing when activating it on an Ubuntu/Linux server.

    The plugin activation caused a WordPress critical error because the plugin code attempted to load:

    /inc/support.php

    However, the plugin package contained the directory as:

    /Inc/support.php

    On Linux, directory names are case-sensitive, so the include failed and produced:

    Failed to open stream: No such file or directory

    followed by:

    Fatal error: Uncaught Error: Class “AffiAffiliateP\Inc\AFScript” not found

    The plugin activated successfully after I renamed the directory from:

    Inc

    to:

    inc

    My environment is Ubuntu with PHP 8.4 and WooCommerce/WordPress running normally. Please correct the directory capitalization in the distributed plugin package and confirm whether future updates will preserve the fix.

You must be logged in to see replies to this topic. Click here to login or register