[BUG] Fatal Error due to not loading autoload.pp
-
There is a conflict between your plugin and my own. My plugin also instantiates class ‘Mollie\Api\MollieApiClient’. Since your plugin checks if this class is available, the below if-statement fails. Consequently skips loading the required autload.php. Not including this file triggers a Fatal error. I suggest removing the if-statement. Just always load the autoload.php
@ edd-mollie-gateway.php line 87
private function includes() { if ( ! class_exists( 'Mollie\Api\MollieApiClient' ) ) { require_once EDD_MOLLIE_PLUGIN_DIR . '/vendor/autoload.php'; }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘[BUG] Fatal Error due to not loading autoload.pp’ is closed to new replies.