Title: error on php
Last modified: December 9, 2019

---

# error on php

 *  [rkuroki](https://wordpress.org/support/users/rkuroki/)
 * (@rkuroki)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-on-php/)
 * Hi!
    I found a “error” on your code. On woocommerce-show-attributes/woocommerce-
   show-attributes.php line 757 if ( get_option( ‘wcsa_weight_product’ ) != ‘yes’){
   shoud be if ( get_option( ‘wcsa_weight_product’ ) == ‘yes’ ) {
 * and on line 766
    if ( get_option( ‘wcsa_weight_dimensions’ ) != ‘yes’ ) { shoud
   be if ( get_option( ‘wcsa_weight_dimensions’ ) == ‘yes’ ) {

The topic ‘error on php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-show-attributes_d1b9b7.
   svg)
 * [WooCommerce Show Attributes](https://wordpress.org/plugins/woocommerce-show-attributes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-show-attributes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-show-attributes/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-show-attributes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-show-attributes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-show-attributes/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [rkuroki](https://wordpress.org/support/users/rkuroki/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/error-on-php/)
 * Status: not resolved