• Resolved Sogwap

    (@sogwap)


    With V1.1.2 I add this code to display, Products Per Page:

    <?php
    global $wppp;
    $wppp->wppp_dropdown_object();
    ?>

    I updated to V1.1.3 and goto this error.

    Fatal error: Call to a member function wppp_dropdown_object() on a non-object in /home/duracell1/public_html/wp-content/themes/dynamik-gen/woocommerce/loop/pagination.php on line 36

    I reverted back to V1.1.2, and it’s working as expected. Is there another way to call the plugin to work with V1.1.3?

    https://www.ads-software.com/plugins/woocommerce-products-per-page/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeroen Sormani

    (@sormano)

    Hi,

    Thanks for reporting!
    Turns out I made a typo for the backwards compatibility.

    I just pushed a fix release 1.1.3.1 to fix this.

    I do recommend you change the code to:

    <?php
    WooCommerce_Products_Per_page()->wppp_dropdown();
    ?>

    Which is the new and better way ??

    Let me know how it works out!

    Thanks,
    Jeroen

    Thread Starter Sogwap

    (@sogwap)

    Thanks Jeroen,

    That works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘V1.1.3 breaks code’ is closed to new replies.