Autoloader relative path issue.
-
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’;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Autoloader relative path issue.’ is closed to new replies.