Show purchase history log from WP e-Commerce plugin in the user profile
The plugin works and does it job, but on each page load emits the error:
PHP message: PHP Warning: Missing argument 2 for wpdb::prepare(), called in /var/www/mediakomppania/htdocs/wp-content/plugins/wp-e-commerce-user-roles-and-purchase-history/purchase_history.php on line 54
This is due to wrong usage of the function $wpdb->prepare($sql), which should have the SQL command and all values as parameters after $sql.
You must log in to submit a review. You can also log in or register using the form near the top of this page.