Product ID called incorrectly – PHP Error
-
Hi!
While reading my php-error logs, I noticed that the plugin created tons of error lines saying:
Notice: id was called incorrectly. Product properties should not be accessed directly.I fixed this error locally by changing this:
/**** File ./includes/iworks/omnibus/integration/class-iworks-omnibus-woocommerce.php:260 **/ // From this: if ( ! $this->should_it_show_up( $product->get_id() ) ) // To this: if ( ! $this->should_it_show_up( $product->get_id() ) )
Please check this out and update.
Great plugin! ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Product ID called incorrectly – PHP Error’ is closed to new replies.