Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
Script-Fu

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

Question

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

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×