Title: PHP Warning
Last modified: October 21, 2019

---

# PHP Warning

 *  Resolved [Jason](https://wordpress.org/support/users/galapogos01/)
 * (@galapogos01)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-warning-212/)
 * Hi guys,
 * I am getting the following warning:
 * Notice Undefined variable: columns in wp-content/plugins/woocommerce-cross-sell-
   products-display/woocommerce-cross-sell-products-display.php:95
 * That line is:
 * if($display_columns == 0){
    $woocommerce_loop[‘columns’] = apply_filters( ‘woocommerce_cross_sells_columns’,
   $columns );
 * However $columns is not defined anywhere. Maybe something to fix in the next 
   version?
 * Cheers,
    Jason

Viewing 1 replies (of 1 total)

 *  Plugin Author [logicfire](https://wordpress.org/support/users/logicfire/)
 * (@logicfire)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/php-warning-212/#post-12240748)
 * Hi Jason,
    Thanks for the suggestion. I have released a new update with the fix
   and also with new carousel slider feature.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-cross-sell-products-display.
   svg)
 * [Cross Sell Products Slider For Woocommerce](https://wordpress.org/plugins/woocommerce-cross-sell-products-display/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-cross-sell-products-display/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-cross-sell-products-display/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-cross-sell-products-display/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-cross-sell-products-display/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [logicfire](https://wordpress.org/support/users/logicfire/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/php-warning-212/#post-12240748)
 * Status: resolved