Using Search Unleased 1.0.4.
Select post/page content in modules and get this when I rebuild database:
error: Call to a member function get_products() on a non-object in /home/mydatabsename/public_html/wp-content/plugins/wp-e-commerce/wpsc-includes/theme.functions.php on line 406
So long as only Post/Page metadata, Tags and Post/Page excerpt are checked, it is fine.
juliageek
Member
Posted 2 years ago #
I get this too. I can't get search unleashed to work with wp ecommerce, probably because of this error. Can anyone help. This is the section of code that the error points to as having a call to a member function on a non-object:
if(preg_match("/\[productspage\]/",$content)) {
$wpsc_query->get_products();
$GLOBALS['nzshpcrt_activateshpcrt'] = true;
ob_start();
if(wpsc_is_single_product()) {
include($cur_wpsc_theme_folder."/single_product.php");
} else {
Is it a problem with the wp-e-commerce code or is it search unleashed not liking something?
Jonathan100
Member
Posted 2 years ago #
I Need Helpppppppppppppppppppppp!
vonkanehoffen
Member
Posted 1 year ago #
Hum... I also have this problem. Ended up giving up and just not searching page content. Bit of a cop-out! Did you ever find a solution?