require_once plugin_dir_path( __FILE__ ). 'Mollie/API/Autoloader.php';. On my site I have another plugin that also uses the Mollie API. They don’t conflict feature wise, but apparently that plugin got loaded first, and this causes an error along the lines of “cannot re-declare class Mollie_API_Autoloader”. You could wrap the require in a
if ( !class_exists( 'Mollie_API_Autoloader' ) )to fix this. The other plugin also has this check. I’ve made this change on my end, but if you update the plugin without fixing this, my site will throw an error again. So I hope you can add this to your first next update. Thanks!
- The topic ‘Bug: Conflict with other Mollie API plugin’ is closed to new replies.