Wishlist causing recurring error
-
Getting a recurring error in debug log caused by TI Wishlist Plugin. Needs to be solved in the code vs changing database settings.
Pretty sure its due to the code handling double quotes vs single quotes.
Error:
[01-Aug-2024 18:27:05 UTC] WordPress database error Unknown column ‘publish’ in ‘on clause’ for query SELECT COUNT(
quantity
) ASquantity
FROM wp_tinvwl_items t1 INNER JOIN wp_posts t2 on t1.product_id = t2.ID AND t2.post_status IN (“publish”,”private”) WHEREwishlist_id
=’14’ made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, TInvWL_Public_AddToWishlist->set_wishlists_data_cookies, TInvWL_Public_WishlistCounter->get_counter, TInvWL_Public_WishlistCounter->counter, TInvWL_Product->get
[01-Aug-2024 18:27:05 UTC] PHP Warning: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/ti-woocommerce-wishlist/public/wishlistcounter.class.php on line 235
[01-Aug-2024 18:27:06 UTC] is_internal_meta_key was called incorrectly. Generic add/update/get meta methods should not be used for internal meta data, including “_low_stock_amount”. Use getters and setters. Backtrace: do_action(‘wp_ajax_wc_multistore_ajax_sync’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Multistore_Ajax_Product_Master->wc_multistore_ajax_sync, WC_Multistore_Abstract_Product_Master->__construct, WC_Multistore_Abstract_Product_Master->get_data, apply_filters(‘wc_multistore_master_product_data’), WP_Hook->apply_filters, WOO_MSTORE_INTEGRATION_Sync_Custom_Meta->add_metadata, WC_Data->get_meta, WC_Data->is_internal_meta_key, wc_doing_it_wrong. This message was added in version 3.2.0.
- You must be logged in to reply to this topic.