Title: error code line 1097
Last modified: August 22, 2016

---

# error code line 1097

 *  Resolved [Loralee_H](https://wordpress.org/support/users/loralee_h/)
 * (@loralee_h)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-code-line-1097/)
 * New users are seeing at checkout. Can you help me figure out how to fix this?
   Thanks!
 * Loralee
 * Order Confirmation
 * Warning: setcookie() expects parameter 2 to be string, array given in /home1/
   larpoon/public_html/14DayProductChallenge.com/member/wp-content/plugins/coursepress/
   coursepress.php on line 1097
    Review Cart»Shipping»Checkout»Confirm»Order Complete
 * Thank you for signing up for 14 Day Product Challenge. We hope you enjoy your
   experience.
 * You may track the latest status of your order(s) here:
 * [https://wordpress.org/plugins/coursepress/](https://wordpress.org/plugins/coursepress/)

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

 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-code-line-1097/#post-5355522)
 * Hey Loralee,
 * Thanks for posting!
 * I’m not able to reproduce this issue so far, what payment method are you using?
   Do you have WP_DEBUG set to ‘true’ in your wp-config.php file? If you do then
   you can try setting it to ‘false’ in the meantime.
 * Look forward to hearing back on the payment gateway then I can run some further
   testing.
 * Are you in a multisite or a single site install?
 * Cheers,
    Tyler
 *  Thread Starter [Loralee_H](https://wordpress.org/support/users/loralee_h/)
 * (@loralee_h)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-code-line-1097/#post-5355553)
 * I’m using paypal express, but these users had prepaid before I had CoursePress
   set up, so I gave them a coupon. I believe that means they’re being processed
   through the manual checkout, even though I don’t have that option selected. I
   could be wrong.
 * This is single site install, with only a couple of simple plugins (CoursePress
   plugin & theme, marketpress lite, WP clone, SEO by Yoast), and no modifications
   through css or php.
 * I’ll check in with wp_debug
 * thanks again.
 * Loralee
 *  Plugin Support [Saurabh – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support7/)
 * (@wpmudev-support7)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-code-line-1097/#post-5355592)
 * Hey Loralee,
 * Thanks for the reply and additional information 🙂
 * ooh okay, so the payment was $0? Was it still trying to pay through PayPal for
   you?
 * Do you have both the manual payment and PayPal Express option activated? This
   could have happened because it still tried to go through PayPal and PayPal doesn’t
   allow transactions of $0.
 * Hope this helps! Thanks for all your reporting and feedback so far 🙂
 * Cheers,
    Tyler
 *  Thread Starter [Loralee_H](https://wordpress.org/support/users/loralee_h/)
 * (@loralee_h)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-code-line-1097/#post-5355593)
 * I don’t have the manual payment activated, so yes. This could be related to paypal
   no accepting zero payments. Although I do this with woocommerce all the time,
   with no errors. Paypal is my only payment gateway there. Also, I use s2member
   with one of my membership sites, and it’s able to bypass the paypal error too.
   I’m confident your developers will find a way to get around the error.
 *  [isabelpmubago](https://wordpress.org/support/users/isabelpmubago/)
 * (@isabelpmubago)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-code-line-1097/#post-5355705)
 * Hi! Is it possible to change the text “Thank you for signing up for “. I’m trying
   to do it, but it’s no possible :-O
 * Thanks!
 *  Plugin Support [Saurabh – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support7/)
 * (@wpmudev-support7)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-code-line-1097/#post-5355706)
 * Hey Isabelpmubago,
 * Hope you’re doing well today and thanks for your question!
 * That text is inside the coursepress.php file around line 1264. That files located:
 * /wp-content/plugins/coursepress/coursepress.php
 * You can change it there; however, you would need to update it after each update,
   so a better way to do it would be to translate it: [http://premium.wpmudev.org/blog/how-to-translate-a-wordpress-plugin/](http://premium.wpmudev.org/blog/how-to-translate-a-wordpress-plugin/)
 * Or this plugin here could make it a bit easier to change: [https://wordpress.org/plugins/codestyling-localization/](https://wordpress.org/plugins/codestyling-localization/)
 * Hope this helps! Let us know if you have any further questions.
 * Cheers,
    Tyler

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

The topic ‘error code line 1097’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/coursepress_f7e9b6.svg)
 * [CoursePress Learning Management System](https://wordpress.org/plugins/coursepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/coursepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/coursepress/)
 * [Active Topics](https://wordpress.org/support/plugin/coursepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/coursepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/coursepress/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [Saurabh – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support7/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/error-code-line-1097/#post-5355706)
 * Status: resolved