Title: Parse error T_BOOLEAN_AND
Last modified: June 10, 2019

---

# Parse error T_BOOLEAN_AND

 *  Resolved [binfor](https://wordpress.org/support/users/binfor/)
 * (@binfor)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/parse-error-t_boolean_and/)
 * Hello,
 * When updating the plugin we get the following error:
    _Parse error: syntax error,
   unexpected T\_BOOLEAN\_AND, expecting ‘)’ in /…/wp-content/plugins/yith-woocommerce-
   catalog-mode/plugin-fw/yit-functions.php on line 1272_
 * Now the web doesn’t work.
 * How can we solve it?
    Thank you very much.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-t_boolean_and%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/parse-error-t_boolean_and/#post-11625671)
 * Hello,
    thank you for you feedback, we’ll send a new version as soon as possible
   with the fix. In the mean time you can replace the line 1272 of this file: /wp-
   content/plugins/yith-woocommerce-catalog-mode/plugin-fw/yit-functions.php
 * `if( ! empty( $plugin_upgrade_fw_data && is_array( $plugin_upgrade_fw_data ))){`
 * with this
 * `if( ! empty( $plugin_upgrade_fw_data) && is_array( $plugin_upgrade_fw_data )){`
 *  Thread Starter [binfor](https://wordpress.org/support/users/binfor/)
 * (@binfor)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/parse-error-t_boolean_and/#post-11625840)
 * Hello,
    It worked with the code change. Thank you very much.

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

The topic ‘Parse error T_BOOLEAN_AND’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-catalog-mode/assets/icon.svg?rev=3307023)
 * [YITH WooCommerce Catalog Mode](https://wordpress.org/plugins/yith-woocommerce-catalog-mode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-catalog-mode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [binfor](https://wordpress.org/support/users/binfor/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/parse-error-t_boolean_and/#post-11625840)
 * Status: resolved