Title: Fixed
Last modified: September 4, 2019

---

# Fixed

 *  [kentopolis](https://wordpress.org/support/users/kentopolis/)
 * (@kentopolis)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/fixed-10/)
 * Not sure if anyone else will need this, but this plugin was throwing this error
   for me “id was called incorrectly. Product properties should not be accessed 
   directly. Backtrace: require”
    I just edited line 31 from: `$map = get_post_meta(
   $obj->id,'_map_price',true);` to: `$map = get_post_meta($obj->get_id(),'_map_price',
   true);`
 * and wahlah, it’s working again!
    Hope that helps

The topic ‘Fixed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-map.svg)
 * [Woocommerce M.A.P. (Minimum Advertised Price)](https://wordpress.org/plugins/woocommerce-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-map/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-map/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [kentopolis](https://wordpress.org/support/users/kentopolis/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/fixed-10/)
 * Status: not a support question