Home Forums Plugins CURCY – WooCommerce Multi Currency Notice on each non-page

Notice on each non-page

  • Author
    Posts
  • #21843

    sevanova-envato
    Participant

    Hello,

    The latest version of the plugin generates notices when visiting archive page

    Notice: Trying to get property of non-object in /app/web/app/plugins/woocommerce-multi-currency/frontend/price.php on line 354

    because of the $id = get_page_by_path( $path )->ID; code. Can you add an extra check before calling the ->ID property?

    Thanks.
    Best,

You must be logged in to see replies to this topic. Click here to login or register