• WPCLI stops working when Paysera plugin is activated in WP install with custom file/folder structure. The underlying issue is fairly simple, the autoloader.php file is included using relative path:

    paysera.php:
    require_once ‘vendor/autoload.php’;

    Fix:

    require_once dirname( __FILE__ ) . ‘/vendor/autoload.php’;

    • This topic was modified 3 years, 9 months ago by mb00.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Autoloader relative path issue.’ is closed to new replies.