Title: Fatal error when GiveWP is active
Last modified: July 6, 2023

---

# Fatal error when GiveWP is active

 *  Resolved [litoves](https://wordpress.org/support/users/litoves/)
 * (@litoves)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-givewp-is-active/)
 * Hi, for a few days I get this error on my site. If I deactivate GiveWP the error
   disappear and the site works. How can I do? Thanks
 * **Fatal error**: Uncaught Exception: SSL certificate problem: unable to get local
   issuer certificate in D:\inetpub\webs\litografivesuvianicom\main\wp-content\plugins\
   give\src\PaymentGateways\PayPalCommerce\Repositories\MerchantDetails.php:160 
   Stack trace: #0 D:\inetpub\webs\litografivesuvianicom\main\wp-content\plugins\
   give\src\PaymentGateways\PayPalCommerce\ScriptLoader.php(159): Give\PaymentGateways\
   PayPalCommerce\Repositories\MerchantDetails->getClientToken() #1 [internal function]:
   Give\PaymentGateways\PayPalCommerce\ScriptLoader->loadPublicAssets() #2 D:\inetpub\
   webs\litografivesuvianicom\main\wp-content\plugins\give\src\Helpers\Hooks.php(
   43): call_user_func_array() #3 D:\inetpub\webs\litografivesuvianicom\main\wp-
   includes\class-wp-hook.php(308): Give\Helpers\Hooks::Give\Helpers\{closure}()#
   4 D:\inetpub\webs\litografivesuvianicom\main\wp-includes\class-wp-hook.php(332):
   WP_Hook->apply_filters() #5 D:\inetpub\webs\litografivesuvianicom\main\wp-includes\
   plugin.php(517): WP_Hook->do_action() #6 D:\inetpub\webs\litografives in **D:\
   inetpub\webs\litografivesuvianicom\main\wp-content\plugins\give\src\PaymentGateways\
   PayPalCommerce\Repositories\MerchantDetails.php**on line **160**
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-when-givewp-is-active%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-givewp-is-active/#post-16875662)
 * Hi, [@litoves](https://wordpress.org/support/users/litoves/).
 * Glad you reached out.
 * What is likely happening here is that you need a valid SSL certificate, and GiveWP
   and PayPal is unable to find it. Can you make sure you are connecting your site
   and connecting to PayPal using a SSL connection?
 * The fix is to route all traffic on your site to HTTPS and to change all instances
   of the HTTP version of the URL in the database to the HTTPS version. Another “
   gotcha” that sometimes results in frustration is that the www and non-www versions
   need to be standardized, and the files should be delivered over the same version(
   [https://www.example.com](https://www.example.com) or [https://example.com](https://example.com))
   that all traffic is forced over. 
 * We have a detailed tutorial that covers these items really well. The article 
   will walk you through the following things that are relevant to this issue: 
 * 1. the “update your Site URL” section
   2. the “Force HTTPS Throughout your Site”
   section 3. the “Resolve insecure elements your Pages” section.
 * That article is here: [https://givewp.com/documentation/resources/how-to-use-ssl-and-https-for-your-wordpress-website/](https://givewp.com/documentation/resources/how-to-use-ssl-and-https-for-your-wordpress-website/).
 * However, if it doesn’t fix the issue after you follow the instructions above,
   I’ll need some help from you with steps to replicate the issue? When does it 
   happen? Do you execute any specific action that triggers this error?
 * Your success with online donations is our number one priority. Looking forward
   to helping you get to the bottom of this!
 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-givewp-is-active/#post-16883294)
 * Hi, [@litoves](https://wordpress.org/support/users/litoves/).
 * It’s been a while since we’ve heard back, and I know troubleshooting needs a 
   little extra time. I’m marking this as resolved for now, but if you still have
   questions, you can send them along right here, and I’ll be happy to hop back 
   in.
 * Have a great day!
 *  Thread Starter [litoves](https://wordpress.org/support/users/litoves/)
 * (@litoves)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-givewp-is-active/#post-16883497)
 * Thank you but I haven’t fixed it.
 * In the site health section there isn’t the issue **“the website does not use 
   HTTPS”** and in the general section the site url is https.
 * [WordPress Force HTTPS.](https://wordpress.org/plugins/wp-force-https/) isn’t
   tested with my version of wp
 * On [http://www.whynopadlock.com](http://www.whynopadlock.com) the test is passed
 * “When does it happen? Do you execute any specific action that triggers this error?”
 * Always, when I load the home page I get the error.
 *  Thread Starter [litoves](https://wordpress.org/support/users/litoves/)
 * (@litoves)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-when-givewp-is-active/#post-16997613)
 * With the last update now it works.

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

The topic ‘Fatal error when GiveWP is active’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [litoves](https://wordpress.org/support/users/litoves/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-when-givewp-is-active/#post-16997613)
 * Status: resolved