• Resolved cloudslly

    (@cloudslly)


    I am using the Flexible Shipping plugin together with WOOCS. Everything was ok up until about 10+ days ago when adding a product to cart results in a “critical error” with the following line:

    Uncaught Error: Call to a member function woocs_exchange_value() on bool in /var/www/vhosts/(website url)/httpdocs/wp-content/plugins/flexible-shipping/classes/table-rate/multicurrency.php:112

    I checked the folder and below is what I see for Line 111 and 112:

    public function flexible_shipping_value_in_currency_woocs( $value ) {
    return $GLOBALS[‘WOOCS’]->woocs_exchange_value( $value );

    The error disappears when I deactivate WOOCS.

    I have also reached out to Flexible Shipping for support, but in the meantime would like to know if I can get some insight as to what is happening here.

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello

    Contact support for this third-party plugin(Flexible Shipping) this is their code, i think it should be updated

Viewing 1 replies (of 1 total)
  • The topic ‘Error when adding product to cart’ is closed to new replies.