Conversation
supportHi there, I have events manager pro, when i installed this plug-in and activated it, it gave a fatal error!! Below is the error: Fatal error: Uncaught Mollie\Api\Exceptions\ApiException: Invalid API key: ”. An API key must start with ‘test_’ or ‘live_’ and must be at least 30 characters long. in /home/public/sites/www.elaxxl-development.nl/wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/src/MollieApiClient.php:339 Stack trace: #0 /home/public/sites/www.elaxxl-development.nl/wp-content/plugins/stonehenge-em-mollie/gateway/gateway.mollie.php(506): Mollie\Api\MollieApiClient->setApiKey(”) #1 /home/public/sites/www.elaxxl-development.nl/wp-content/plugins/stonehenge-em-mollie/gateway/gateway.mollie.php(37): EM_Gateway_Mollie::start_mollie() #2 /home/public/sites/www.elaxxl-development.nl/wp-content/plugins/events-manager-pro/add-ons/gateways/gateways.php(85): EM_Gateway_Mollie->__construct() #3 /home/public/sites/www.elaxxl-development.nl/wp-content/plugins/stonehenge-em-mollie/gateway/gateway.mollie.php(642): EM_Gateways::register_gateway(‘mollie’, ‘EM_Gateway_Moll…’) #4 /home/public/sites/www.elaxxl-development.nl/wp-content/ in /home/public/sites/www.elaxxl-development.nl/wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/src/MollieApiClient.php on line 339 Since i havent even got a change to fill in the API key i have no idea what is wrong? Please help The page I need help with: [ log in to see the link]
What version are you using? This issue should;d be resolved in the latest release.
Thanx for the quick reply and solution! The version i had i downloaded not even a week ago haha but removing the old one through Filezilla and uploading the new one made it work. Thanx again!
Glad to help. Enjoy the plugin! 🙂
Hi Patrick, I am also getting this errorwith the 2.0.1 version: Mollie\Api\Exceptions\ApiException thrown Invalid API key: ‘sleutel-hier’. An API key must start with ‘test_’ or ‘live_’ and must be at least 30 characters long. I had the problem first with the old version of the plugin. Then I updated to 2.0.1 and this temporarily solved the problem, I could access the plugin settings. I (rather stupidly) typed something in the API key field as a placeholder for my customer to paste their API key, but now I can’t get rid of it. Is there a database field that can be emptied? I have tried re-uploading the plugin via FTP but no success. Any help is greatly appreciated. Thanks! Gary
Oh never mind, I found the database field em_mollie_api_key and emptied it, problem solved 🙂
Or you just needed to download the latest version…
What version are you using? This issue should;d be resolved in the latest release.
Thanx for the quick reply and solution! The version i had i downloaded not even a week ago haha but removing the old one through Filezilla and uploading the new one made it work. Thanx again!
Glad to help. Enjoy the plugin! 🙂
Hi Patrick, I am also getting this errorwith the 2.0.1 version: Mollie\Api\Exceptions\ApiException thrown Invalid API key: ‘sleutel-hier’. An API key must start with ‘test_’ or ‘live_’ and must be at least 30 characters long. I had the problem first with the old version of the plugin. Then I updated to 2.0.1 and this temporarily solved the problem, I could access the plugin settings. I (rather stupidly) typed something in the API key field as a placeholder for my customer to paste their API key, but now I can’t get rid of it. Is there a database field that can be emptied? I have tried re-uploading the plugin via FTP but no success. Any help is greatly appreciated. Thanks! Gary
Oh never mind, I found the database field em_mollie_api_key and emptied it, problem solved 🙂
Or you just needed to download the latest version…