• Resolved Tama

    (@tomiqa)


    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://ww.wp.xz.cn/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/ (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 to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Tama

    (@tomiqa)

    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.
    Thread Starter Tama

    (@tomiqa)

    I’ve disabled debugging (didn’t know my whole site will be full with messagees)

    Nicola Mustone

    (@nicolamustone)

    Automattic Happiness Engineer

    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

    (@tomiqa)

    Hello –

    I see no issues with the prices.

    Any other idea?

    Plugin Support Riaan K.

    (@riaanknoetze)

    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

    (@tomiqa)

    Yep it solved it

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

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