Title: Plugin cannot be activated
Last modified: August 21, 2016

---

# Plugin cannot be activated

 *  Resolved [Sven](https://wordpress.org/support/users/igoras/)
 * (@igoras)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-2/)
 * Hi Guys,
 * I installed this plugin, but when I try to activte, cames the following errror:
 * Parse error: syntax error, unexpected ‘:’ in /wp-content/plugins/woocommerce-
   pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php on line 
   138
 * WordPress: 3.8
    Woocommerce: 2.0.20
 * What can I do?
 * Kind regards
 * [http://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/](http://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)

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

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-2/#post-4534869)
 * Hi Sven,
    This actually not a syntax error but an unusual shorthand, possibly
   not compatible with your specific version of PHP. In have just pushed an update(
   version 1.0.1) that includes a fix for this and also a few new features. Can 
   you check it out and confirm that this fixes the error for you?
 * Thanks!
    Ewout
 *  Thread Starter [Sven](https://wordpress.org/support/users/igoras/)
 * (@igoras)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-2/#post-4534878)
 * Parse error: syntax error, unexpected ‘:’ in wp-content/plugins/woocommerce-pdf-
   invoices-packing-slips/includes/class-wcpdf-export.php on line 190
 * Webserver Information: Apache/2.2.22
    PHP Version: 5.2.17
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-2/#post-4534884)
 * I am terribly sorry, off course there was another one… I have to look hard because
   everything works perfectly on my own test installs.
 * Either way, try updating to 1.1.0 and you SHOULD be fine 🙂
 *  Thread Starter [Sven](https://wordpress.org/support/users/igoras/)
 * (@igoras)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-2/#post-4534912)
 * Everything Fine. Thanks.
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-2/#post-4534913)
 * Good, thanks for reporting!

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

The topic ‘Plugin cannot be activated’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-2/#post-4534913)
 * Status: resolved