• When I added a custom input field I got

    Notice: id was called incorrectly. Product properties should not be accessed directly.

    In your wcff-product-form.php and wcff-cart-updater.php you are accessing the id property of the product directly, and that is not permitted in the newest WooCommerce (3.x), you should replace them with $product->get_id(), as described here.

    Once I changed this the notice was gone. Be sure to add this in the next plugin update 😉

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

The topic ‘Notice: id was called incorrectly’ is closed to new replies.