Title: Critical error
Last modified: June 23, 2021

---

# Critical error

 *  Resolved [woodypad](https://wordpress.org/support/users/woodypad/)
 * (@woodypad)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/critical-error-211/)
 * Hello,
    there is a problem with this new plugin of yours. I have always used 
   the other has always worked well.
 * I installed this new plugin of yours on a new site, with just woocommerce and
   wpbakery.
    I configured your payment plugin, entered the paypal data manually,
   and after saving it no longer makes me access the settings. The page goes blank
   and an error message is returned. – A critical error has occurred on your website.
   Check the site administrator’s inbox for instructions. –
 * I had to restore from the backup, because there was also no way to go inside 
   the plugin settings, even if I uninstalled and reinstalled.
 * Thank you

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Support [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * (@aweissinpsyde)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/critical-error-211/#post-14597939)
 * Hello [@woodypad](https://wordpress.org/support/users/woodypad/)
 * please uninstall the plugin completely and install it again. After please use
   the wizard to connect your PayPal account.
 * Thank you
    Regards Andreas
 *  Thread Starter [woodypad](https://wordpress.org/support/users/woodypad/)
 * (@woodypad)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/critical-error-211/#post-14597954)
 * Hello [@aweissinpsyde](https://wordpress.org/support/users/aweissinpsyde/),
    
   as I wrote before, I have already uninstalled and reinstalled several times, 
   but the error remains, and you can no longer access the plugin settings. To fix
   it, I had to restore the site backup.
 * I don’t like wizards. In fact you have foreseen the manual procedure, but it 
   has a problem apparently.
 * Thank you
 *  Plugin Support [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * (@aweissinpsyde)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/critical-error-211/#post-14607234)
 * [@ratputin](https://wordpress.org/support/users/ratputin/) [@enmanueltorras](https://wordpress.org/support/users/enmanueltorras/)
   [@woodypad](https://wordpress.org/support/users/woodypad/) [@andreas](https://wordpress.org/support/users/andreas/)
 * please add
 * // Remove all data on uninstall
    define(‘WC_REMOVE_ALL_DATA’, true);
 * to your wp-config.php and uninstall the plugin, please. After just install it
   again. Also, please use the wizard to connecting to your PayPal account. The 
   manual mode can cause that error
 * Thank you
    Regards Andreas
 *  [ratputin](https://wordpress.org/support/users/ratputin/)
 * (@ratputin)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/critical-error-211/#post-14609115)
 * I believe I have discovered the issue and the solution.
 * Symptom: Critical error when attempting to the Manage Settings of – or Activating–
   the Paypal plugin (v1.3.2)
 * Issue: Option table name “woocommerce-ppcp-settings” holds residual information
   when disconnecting Site from Paypal.
 * Solution:
 * 1.Open phpMyAdmin and navigate to Database Name > wp_options > woocommerce-ppcp-
   settings
 * 2. Edit the value (best to copy/paste it into a text editor)
 * 3. Replace the text starting at s:26:”Pay with your credit card.” and ending 
   at “disable_funding”;a:0:{} with the following:
 * `s:26:"Pay with your credit card.";s:13:"vault_enabled";b:0;s:10:"sandbox_on";
   b:0;s:20:"products_dcc_enabled";N;s:24:"client_secret_production";s:0:"";s:20:"
   client_id_production";s:0:"";s:13:"client_secret";s:0:"";s:9:"client_id";s:0:"";
   s:11:"merchant_id";s:0:"";s:14:"merchant_email";s:0:"";s:22:"merchant_id_production";
   s:0:"";s:25:"merchant_email_production";s:0:"";s:22:"merchant_email_sandbox";
   s:0:"";s:19:"merchant_id_sandbox";s:0:"";s:17:"client_id_sandbox";s:0:"";s:21:"
   client_secret_sandbox";s:0:"";s:6:"intent";s:7:"capture";s:24:"capture_for_virtual_only";
   b:0;s:15:"payee_preferred";b:0;s:12:"landing_page";s:5:"LOGIN";s:15:"disable_funding";
   a:0:{}`
 * 4. Paste all into the value field and select “Go.”
 * This will restore the Paypal connection to a default state and make the “get 
   started” message re-appear.
 * Hope this can help others experiencing this issue.
 *  Plugin Support [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * (@aweissinpsyde)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/critical-error-211/#post-14610746)
 * Hello [@ratputin](https://wordpress.org/support/users/ratputin/) [@enmanueltorras](https://wordpress.org/support/users/enmanueltorras/)
   [@woodypad](https://wordpress.org/support/users/woodypad/)
 * we were able to reproduce that error and it comes from when setting up the connecting
   to PayPal manually with wrong access details.
 * I would highly recommend checking the PayPal My App & Credentials. There you 
   can see your Clients ID and Secret. Also please make sure you add the right Account
   ID what can be found under the Accounts in your PayPal Dev dashboard.
 * But the best way would be to use the wizard to set up the plugin.
 * Have a nice day
    Regards Andreas
 *  Plugin Support [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * (@aweissinpsyde)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/critical-error-211/#post-14610805)
 * [@ratputin](https://wordpress.org/support/users/ratputin/)
 * when you delete woocommerce-ppcp-settings in wp_options the plugin will create
   a new one after you reload the plugin settings directly from scratch. So you 
   no need to replace it
 *  [ratputin](https://wordpress.org/support/users/ratputin/)
 * (@ratputin)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/critical-error-211/#post-14612715)
 * [@andreas](https://wordpress.org/support/users/andreas/) Yes, if the wrong credentials
   are used, the issue arises and there is no way to change the creds in the interface.
   As this is a live site, it was preferable not to replace all the options, we 
   just needed to fix the Paypal error.
 *  Plugin Support [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * (@aweissinpsyde)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/critical-error-211/#post-14616427)
 * Hello [@ratputin](https://wordpress.org/support/users/ratputin/)
 * our developers are already aware of it and we will fix that asap.
 * Thank you for reporting that issue.
 * Have a nice day
    Regards Andreas
 *  Plugin Support [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * (@aweissinpsyde)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/critical-error-211/#post-14635095)
 * Closed because of inactivity. Also that issue will be fixed with the next update
 *  Thread Starter [woodypad](https://wordpress.org/support/users/woodypad/)
 * (@woodypad)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/critical-error-211/page/2/#post-14753234)
 * Hello,
    were you able to solve the problem? I had written it at the beginning
   of the ticket that the problem is with the manual configuration.
 * As far as I’m concerned, the setup wizard doesn’t work, because it points to 
   the site: sandbox.paypal.com
    This does not recognize my credentials.
 * Instead my sandbox account has access from: developer.paypal.com
    From this link
   I can access quietly.
 * This forces me to use manual configuration, but when using your new plugin it
   creates the error we talked about.
 * I’m waiting
    Thank you
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/critical-error-211/page/2/#post-14756973)
 * Hello [@woodypad](https://wordpress.org/support/users/woodypad/)
 * did you already test this with the 1.4.0 release? This release was done on Jul
   27th.
    Did you update the plugin and test this already? (we actually already 
   release 1.5.0 this week).
 * If this does not fix your issue, you might want to open a new thread, since it
   is not related to the issue discussed in this thread.
 * Hope the update will fix this for you.
 * Kind regards,
    Joost
 *  Thread Starter [woodypad](https://wordpress.org/support/users/woodypad/)
 * (@woodypad)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/critical-error-211/page/2/#post-14775468)
 * Hello,
    i updated the plugin, now the manual configuration seems to be working.
   But no sandbox payment went through, it always asks you to login.
 * “Error processing checkout. Please try again.”
 * Probably because in your plugin I have not configured the “Sandbox Merchant Id”
   value that I don’t remember was there in your previous plugin and I can’t find
   it in other plugins either.
 * Thank you
    -  This reply was modified 4 years, 9 months ago by [woodypad](https://wordpress.org/support/users/woodypad/).

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Critical error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

## Tags

 * [paypal](https://wordpress.org/support/topic-tag/paypal/)
 * [WooCommerce PayPal](https://wordpress.org/support/topic-tag/woocommerce-paypal/)

 * 12 replies
 * 6 participants
 * Last reply from: [woodypad](https://wordpress.org/support/users/woodypad/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/critical-error-211/page/2/#post-14775468)
 * Status: resolved