Title: Parse error after update
Last modified: May 7, 2018

---

# Parse error after update

 *  Resolved [LRA21](https://wordpress.org/support/users/slysoft/)
 * (@slysoft)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-after-update-10/)
 * At the beginning of may, my site crashed after plugin update.
    What’s the fix
   for this issue?
 * Parse error: syntax error, unexpected ‘&&’ (T_BOOLEAN_AND), expecting ‘)’ in
 *  …………./wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/
   class-wcpdf-compatibility-third-party-plugins.php on line 210
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-after-update-10%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-after-update-10/#post-10254035)
 * Hi! This was fixed in 2.1.8, are you perhaps still on 2.1.7?
 *  Thread Starter [LRA21](https://wordpress.org/support/users/slysoft/)
 * (@slysoft)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-after-update-10/#post-10254171)
 * I don’t know right now, because can’t see the login admin page.
    Plugins are 
   updated automatically. How can I find this?
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-after-update-10/#post-10254306)
 * ah, that sounds like that would be 2.1.7, I’m sorry to hear the update broke 
   your site.
 * I strongly recommend disabling automatic plugin updates (not just for our plugin
   but for any plugin on a business critical production site)! This issue affected
   sites with older PHP versions and the bug didn’t surface in testing. Even with
   very thorough testing regimes these kind of things can happen, especially with
   an almost infinite number of possible configurations of sites with different 
   plugins/themes.
 * Here are 2 simple steps to fix the issue:
    1. Log into your site with FTP or cpanel, remove the `woocommerce-pdf-invoices-
       packing-slips` folder in `wp-content/plugins`.
    2. reinstall the latest version of the plugin via WP
 * Ewout

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

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

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

## Tags

 * [crash after update](https://wordpress.org/support/topic-tag/crash-after-update/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/parse-error-after-update-10/#post-10254306)
 * Status: resolved