Hi jwdwebsitedesign
This is really strange, as I can actually see cookie correctly set after “Add to wishlist” process
Maybe you could try having some debug over your installation
Just open wishlist-view template (wp-content/plugins/yith-woocommerce-wishlist-premium/templates/wishlist-view.php), and add the following code
var_dump( $wishlist_items );
after line 12
if ( ! defined( 'YITH_WCWL' ) ) {
exit;
} // Exit if accessed directly
var_dump( $wishlist_items );
?>
This should print a list of items added to wishlist
If nothing happens, then there is still some cache problem
Otherwise, if the code adds some kind of string at the start of wishlist page, please, report it to me, and then remove the debugging code from your installation
Please, let me know
Have a nice day
I have the same problem, I tried the solution with the var_dump but it doesn’t give me any result. I have disabled the cache and cleaned all the cached files but nothing…
-
This reply was modified 9 years, 3 months ago by
danfox.
I found that the problem is in this query:
// $sql = "SELECT *
// FROM <code>{$wpdb->yith_wcwl_items}</code> AS i
// LEFT JOIN {$wpdb->yith_wcwl_wishlists} AS l ON l.<code>ID</code> = i.<code>wishlist_id</code>
// INNER JOIN {$wpdb->posts} AS p ON p.ID = i.prod_id
// INNER JOIN {$wpdb->postmeta} AS pm ON pm.post_id = p.ID
// WHERE 1 AND p.post_type = %s AND p.post_status = %s AND pm.meta_key = %s AND pm.meta_value = %s";
$sql = "SELECT *
FROM <code>{$wpdb->yith_wcwl_items}</code> AS i
LEFT JOIN {$wpdb->yith_wcwl_wishlists} AS l ON l.<code>ID</code> = i.<code>wishlist_id</code>
INNER JOIN {$wpdb->posts} AS p ON p.ID = i.prod_id
INNER JOIN {$wpdb->postmeta} AS pm ON pm.post_id = p.ID
WHERE 1 AND p.post_type = %s AND p.post_status = %s ";
check it for that join that doesn’t give any result…
-
This reply was modified 9 years, 3 months ago by
danfox.
@danfox i think that the solution is forget this plugin is a bull***…