WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce
How to update get_post queries to wp_query with WP e-commerce? (1 post)

  1. wp_slimcode
    Member
    Posted 3 months ago #

    Hey Team,
    I have upgraded WP ver.3.0.1 (yes, this is correct super old) to WP ver.3.8 running free WP e-Commerce plugin. All went well so I proceeded to upgrade WP e-Commerce plugin itself to the newest version. Went without any trouble and errors. However my products from my shop are not being displayed anymore on the website but they are all there when I look in the admin / dashboard. I enabled debug and when I go to my product pages debug gives me this:

    Notice: Undefined property: WP_Query::$post in /home/content/wordpress/wp-content/plugins/wp-e-commerce/wpsc-components/theme-engine-v1/helpers/page.php on line 512

    Notice: Trying to get property of non-object in /home/content/wordpress/wp-content/plugins/wp-e-commerce/wpsc-components/theme-engine-v1/helpers/page.php on line 512
    There are no products in this group.

    Pages:
    Notice: wpsc_first_products_link is deprecated since WP e-Commerce version 3.8! Use wpsc_pagination instead. in /home/content/wordpress/wp-content/plugins/wp-e-commerce/wpsc-includes/misc.functions.php on line 678

    Notice: wpsc_previous_products_link is deprecated since WP e-Commerce version 3.8! Use wpsc_pagination instead. in /home/wordpress/wp-content/plugins/wp-e-commerce/wpsc-includes/misc.functions.php on line 678
    Pages: 1 2 3 4Next >Last ยป
    Notice: wpsc_next_products_link is deprecated since WP e-Commerce version 3.8! Use wpsc_pagination instead. in /home/wordpress/wp-content/plugins/wp-e-commerce/wpsc-includes/misc.functions.php on line 678

    Notice: wpsc_last_products_link is deprecated since WP e-Commerce version 3.8! Use wpsc_pagination instead. in /home/wordpress/wp-content/plugins/wp-e-commerce/wpsc-includes/misc.functions.php on line 678

    Any suggestions on how / where do I replace get_post queries with wp_query? I don't even know where to start with this one. Thank you for any advice in advance.

    http://wordpress.org/plugins/wp-e-commerce/

Reply

You must log in to post.

About this Plugin

About this Topic