Title: Featured shortcode broken
Last modified: April 13, 2020

---

# Featured shortcode broken

 *  Resolved [Tama](https://wordpress.org/support/users/tomiqa/)
 * (@tomiqa)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/featured-shortcode-broken/)
 * I have a featured page on my site with this scode: [featured_products per_page
   =”600″ columns=”4″ orderby=”date” order=”desc”]
 * I used this plugin: [https://wordpress.org/plugins/pricing-deals-for-woocommerce/](https://wordpress.org/plugins/pricing-deals-for-woocommerce/)
 * before the problem happened. I’m not sure this plugins cased it, or not. But 
   something is wrong about prices and that is a discount plugin.
 * Could you help me out a bit?
 * [https://stockvectorsillustrations.com/featured-illustrations/](https://stockvectorsillustrations.com/featured-illustrations/)(
   I leave wp debug on until you reply)
 * Fatal error: Uncaught Error: Call to a member function get_price_html() on null
   in /home/stockvec/public_html/wp-content/plugins/woocommerce/templates/loop/price.
   php:25 Stack trace: #0 /home/stockvec/public_html/wp-content/plugins/woocommerce/
   includes/wc-core-functions.php(251): include() #1 /home/stockvec/public_html/
   wp-content/plugins/woocommerce/includes/wc-template-functions.php(1288): wc_get_template(‘
   loop/price.php’) #2 /home/stockvec/public_html/wp-includes/class-wp-hook.php(
   287): woocommerce_template_loop_price(”) #3 /home/stockvec/public_html/wp-includes/
   class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 /home/stockvec/
   public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/stockvec/
   public_html/wp-content/themes/symbiostock-express/woocommerce/content-product.
   php(116): do_action(‘woocommerce_aft…’) #6 /home/stockvec/public_html/wp-includes/
   template.php(725): require(‘/home/stockvec/…’) #7 /home/stockvec/public_html/
   wp-content/plugins/woocommerce/includes/wc-core-functions.php( in /home/stockvec/
   public_html/wp-content/plugins/woocommerce/templates/loop/price.php on line 25
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffeatured-shortcode-broken%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [Tama](https://wordpress.org/support/users/tomiqa/)
 * (@tomiqa)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/featured-shortcode-broken/#post-12667467)
 * Also the “600” image is because I just exceeded 12 products, the original number
   that was there
    -  This reply was modified 6 years, 2 months ago by [Tama](https://wordpress.org/support/users/tomiqa/).
 *  Thread Starter [Tama](https://wordpress.org/support/users/tomiqa/)
 * (@tomiqa)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/featured-shortcode-broken/#post-12668400)
 * I’ve disabled debugging (didn’t know my whole site will be full with messagees)
 *  [Nicola Mustone](https://wordpress.org/support/users/nicolamustone/)
 * (@nicolamustone)
 * Automattic Happiness Engineer
 * [6 years, 2 months ago](https://wordpress.org/support/topic/featured-shortcode-broken/#post-12670325)
 * Hello there,
    based on the error message it seems like there might be some issues
   with one or more products. Check the featured products, do you notice anything
   wrong with their prices?
 * Make sure that all of them have a value (0 for free) and that all of them only
   include real numbers (integers and decimals only).
 *  Thread Starter [Tama](https://wordpress.org/support/users/tomiqa/)
 * (@tomiqa)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/featured-shortcode-broken/#post-12670901)
 * Hello –
 * I see no issues with the prices.
 * Any other idea?
 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/featured-shortcode-broken/#post-12670971)
 * Hi there,
 * When working through the stack trace in that error report, I see specific mentioned
   being made to your active theme – `themes/symbiostock-express/`. Just to check,
   ar you seeing the same fatal error when temporarily switching to the default 
   TwentyTwenty or Storefront themes?
 *  Thread Starter [Tama](https://wordpress.org/support/users/tomiqa/)
 * (@tomiqa)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/featured-shortcode-broken/#post-12670992)
 * Yep it solved it

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Featured shortcode broken’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [featured page](https://wordpress.org/support/topic-tag/featured-page/)

 * 6 replies
 * 3 participants
 * Last reply from: [Tama](https://wordpress.org/support/users/tomiqa/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/featured-shortcode-broken/#post-12670992)
 * Status: resolved