Gold Cart 3.7.6.1 Beta 1 Upgrade Fix for WP E-Commerce

WP E-Commerce 3.7.6.1 Beta 1 throws a fatal error with activation of Gold Cart when opening the Settings tab of Store, the error is:

Fatal error: Call to undefined function nzshpcrt_listdir() in /home/public_html/wp-content/uploads/wpsc/upgrades/gold_cart_files/gold_shopping_cart.php on line 746

Good news is Jeff the ninja coder from Instinct has already released a quick patch resolving this issue which is included below:

Change the function call (around line 745) in `upgrades/gold_cart_files` from:
$gold_nzshpcrt_merchant_list = nzshpcrt_listdir($gold_gateway_directory);
to:
$gold_nzshpcrt_merchant_list = wpsc_list_dir($gold_gateway_directory);

Leave a Comment

Before you comment - Do you have a support request? If so, this is not the right place to post it. Please submit support requests for Premium Plugins on the Support page and in the community Support Forums for free Plugins.

Your email address will not be published.