Title: Internal server error
Last modified: November 24, 2019

---

# Internal server error

 *  Resolved [kalmarrocks](https://wordpress.org/support/users/kalmarrocks/)
 * (@kalmarrocks)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/internal-server-error-596/)
 * After entering the Swish number and hitting the place order button I get and 
   Internal server error. Here is the erro log.
 * [24-Nov-2019 19:54:02 UTC] PHP Fatal error: Uncaught Error: Wrong parameters 
   for Woo_Swish_API_Exception([string $message [, long $code [, Throwable $previous
   = NULL]]]) in /home/kalmarro/public_html/wp-content/plugins/woo-swish-e-commerce/
   classes/woo-swish-exception.php:52
    Stack trace: #0 /home/kalmarro/public_html/
   wp-content/plugins/woo-swish-e-commerce/classes/woo-swish-exception.php(52): 
   Exception->__construct(‘cURL error 6: C…’, ‘http_request_fa…’, NULL) #1 /home/
   kalmarro/public_html/wp-content/plugins/woo-swish-e-commerce/classes/api/woo-
   swish-api-connection.php(133): Woo_Swish_Exception->__construct(‘cURL error 6:
   C…’, ‘http_request_fa…’, NULL, ‘[https://https:/…&#8217](https://https:/…&#8217);)#
   2 /home/kalmarro/public_html/wp-content/plugins/woo-swish-e-commerce/classes/
   api/woo-swish-api-connection.php(104): Woo_Swish_API_Connection->execute(‘POST’,‘
   paymentrequests’, ‘{“payeePaymentR…’) #3 /home/kalmarro/public_html/wp-content/
   plugins/woo-swish-e-commerce/classes/api/woo-swish-api-functions.php(68): Woo_Swish_API_Connection-
   >post(‘paymentrequests’, Array) #4 /ho in /home/kalmarro/public_html/wp-content/
   plugins/woo-swish-e-commerce/classes/woo-swish-exception.php on line 52
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finternal-server-error-596%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [bjorntech](https://wordpress.org/support/users/bjorntech/)
 * (@bjorntech)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/internal-server-error-596/#post-12170888)
 * Hi,
 * Could you please turn on the logging. You do that by checking the log checkbox
   on the settings page and save the page.
 * When this is done, try to pay again and send the content of the logfile to: [hello@bjorntech.com](https://wordpress.org/support/topic/internal-server-error-596/hello@bjorntech.com?output_format=md).
 * /tobbe
 *  Plugin Author [bjorntech](https://wordpress.org/support/users/bjorntech/)
 * (@bjorntech)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/internal-server-error-596/#post-12186529)
 * Hi,
 * Thank you for sending in your log-file. The error was caused by a configuration
   error and the plugin is working fine now.
 * /tobbe

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

The topic ‘Internal server error’ is closed to new replies.

 * ![](https://ps.w.org/woo-swish-e-commerce/assets/icon.svg?rev=3345162)
 * [BjornTech Swish for WooCommerce](https://wordpress.org/plugins/woo-swish-e-commerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-swish-e-commerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-swish-e-commerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-swish-e-commerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-swish-e-commerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-swish-e-commerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bjorntech](https://wordpress.org/support/users/bjorntech/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/internal-server-error-596/#post-12186529)
 * Status: resolved