Warning message during preview?
-
Hi,
1/ i am getting this warning message if i hit preview in browser
Warning: Missing argument 2 for wpdb::prepare(), called in C:\xampp\htdocs\mydomain.com\site\wp-content\plugins\wp-e-commerce-style-email\purchase.class.php on line 288 and defined in C:\xampp\htdocs\lotusbeurs.nl\site\wp-includes\wp-db.php on line 992
EDIT: fixed by adding LIMIT 1″, “”);
i am using WPSC 3.8.13.3.2/ in preview i only see the shortcode [email content as generated], but where is it set? or isn’t this a shortcode?
3/ can your shortcodes also be used to show the correct transaction_results? At the moment i only get the succesfull status, even when i cancel a payment.
4/ @jacob schwartz, i downloaded your plugin to see which hooks you use for sending a receipt/invoice. I could use some help, tips or suggestions for the following:
i am creating a little e-ticket system. For this like to attach a generate pdf (barcode with tcpdf). My questions:
A/ how do i get the order details from WPSC so i can populate my generate_pdf function?
B/ how can i attach the pdf file when, in your template hierarchy the payment is succesfully made and the users gets a Purchase receipt (wpsc-email_style_purchase_receipt.php)Hope you can give some pointers.
Regards,
- The topic ‘Warning message during preview?’ is closed to new replies.