Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Paypal Module Uninstall [ThirtyBeesException] [] is not a valid configuration key

Featured Replies

I was looking to roll back to the paypal module i used with my prestashop sites as it has been rock solid with me since v2.8 and in it's currant version of upgrades is at v3.11.1

Anyway i went to uninstall the native version of the thirtybees paypal module PayPal v5.4.2 - by thirty bees and ended up with this below. Also no matter how many times i try to uninstall the module i end up back on the Exception Page. I did try to uninstall with the Presta PayPal Module USA/Canada that came with ThirtyBees so I installed/uninstalled/deleted that module now so i'm stuck. Any ideas how to get the native PP module to uninstall?

 

[ThirtyBeesException]
[] is not a valid configuration key
at line 1005 in file classes/Configuration.php

1000.      * @since   1.0.8
1001.      */
1002.     protected static function validateKey($key)
1003.     {
1004.         if ( ! Validate::isConfigName($key)) {
1005.             $e = new PrestaShopException(sprintf(
1006.                 Tools::displayError('[%s] is not a valid configuration key'),
1007.                 Tools::htmlentitiesUTF8($key)
1008.             ));
1009.             die($e->displayMessage());
1010.         }
ConfigurationCore::validateKey - [line 813 - classes/Configuration.php] - [1 Arguments]
Argument [0]

ConfigurationCore::deleteByName - [line 292 - modules/paypal/paypal.php] - [1 Arguments]
Argument [0]

PayPal->deleteConfiguration - [line 275 - modules/paypal/paypal.php]
270.      *
271.      * @return bool Indicates whether the module was uninstalled successfully
272.      */
273.     public function uninstall()
274.     {
275.         $this->deleteConfiguration();
276. 
277.         return parent::uninstall();
278.     }
279. 
280.     /**
PayPal->uninstall - [line 1648 - controllers/admin/AdminModulesController.php]
1643.                             }
1644.                             if (count($this->errors)) {
1645.                                 continue;
1646.                             }
1647.                             // Get the return value of current method
1648.                             $echo = $module->{$method}();
1649.                             // After a successful install of a single module that has a configuration method, to the configuration page
1650.                             if ($key == 'install' && $echo === true && strpos(Tools::getValue('install'), '|') === false && method_exists($module, 'getContent')) {
1651.                                 Tools::redirectAdmin(static::$currentIndex.'&token='.$this->token.'&configure='.$module->name.'&conf=12');
1652.                             }
1653.                         }
AdminModulesControllerCore->postProcessCallback - [line 1511 - controllers/admin/AdminModulesController.php]
1506.             }
1507.         }
1508. 
1509.         // Call appropriate module callback
1510.         if (!isset($ppmReturn)) {
1511.             $this->postProcessCallback();
1512.         }
1513. 
1514.         if ($back = Tools::getValue('back')) {
1515.             Tools::redirectAdmin($back);
1516.         }
AdminModulesControllerCore->postProcess - [line 251 - classes/controller/Controller.php]
246.         if ($this->checkAccess()) {
247.             if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
248.                 $this->setMedia();
249.             }
250. 
251.             $this->postProcess();
252. 
253.             if (!empty($this->redirect_after)) {
254.                 $this->redirect();
255.             }
256. 
ControllerCore->run - [line 837 - classes/Dispatcher.php]
832.             if (isset($paramsHookActionDispatcher)) {
833.                 Hook::exec('actionDispatcher', $paramsHookActionDispatcher);
834.             }
835. 
836.             // Running controller
837.             $controller->run();
838.         } catch (PrestaShopException $e) {
839.             $e->displayMessage();
840.         }
841.     }
842. 
DispatcherCore->dispatch - [line 63 - admin/index.php]
58. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) {
59.     $_REQUEST['controller'] = strtolower($_REQUEST['tab']);
60. }
61. 
62. // Prepare and trigger admin dispatcher
63. Dispatcher::getInstance()->dispatch();

 

Edited by Script-Fu

  • Author

I would like to ask if it possible to block ThirtyBees from upgrading my Prestashop Paypal Module v3.11.1 back to v5.4.2 of ThirtyBees? That is if i can get the native module to uninstall.

  • 2 weeks later...

Hi, 

I have the same problem when trying to uninstall the Paypal Module.
Is it possible to uninstall it manually? Which database entries have to be deleted?
Or is there a way to fix the code to make the uninstallation possible?

Thanks!

@wakabayashi thank you for mentioning 🙂

@datakick thank you for the tip. It worked perfectly for me. PayPal module is uninstalled now 👍

Edited by schmuck-checker

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.