• Resolved dibix

    (@dibix)


    Call to a member function is_sold_individually() raise a 505 error in ajax call (add-to-cart)

    I solved in this way…
    In set_max_min_quantity.php, methods wcmmq_min_max_valitaion and wcmmq_quantity_input_args
    I had to replace
    if( $product->is_sold_individually() ) …
    with
    if(method_exists( $product, ‘is_sold_individually’ ) && $product->is_sold_individually()) …

    The error description is
    2022-11-15T16:12:51+00:00 CRITICAL Uncaught Error: Call to a member function is_sold_individually() on bool in /var/www/clients/client0/web20/web/wp-content/plugins/woo-min-max-quantity-step-control-single/includes/set_max_min_quantity.php:190

Viewing 1 replies (of 1 total)
  • Plugin Author Saiful Islam

    (@codersaiful)

    Hello @dibix I have fixed this issue.
    see in Github

    By the way, You are strong welcome to contribute our plugin Github Repository.

    We added our contributor list in our plugin. Check current change log, I added your name. to our change log.

    Thanks
    Saiful
    Founder of CodeAstrology

Viewing 1 replies (of 1 total)
  • The topic ‘Call to a member function is_sold_individually() raise a 505 error in ajax ajax’ is closed to new replies.