Title: Error when activating plugin
Last modified: August 30, 2016

---

# Error when activating plugin

 *  Resolved [zoomantics](https://wordpress.org/support/users/zoomantics/)
 * (@zoomantics)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-16/)
 * Hello, After activating this plug in, I get the following error;
 * Parse Error: Syntax error, unexpected ‘[‘ in /…./lib/class.yith-woocommerce-additional-
   uploads.php on live 236.
 * I have checked line 236 and cannot find an unexpected ‘[‘ anywhere.
 * Can you please assist?
 * Thanks
 * Vic
 * [https://wordpress.org/plugins/yith-woocommerce-additional-uploads/](https://wordpress.org/plugins/yith-woocommerce-additional-uploads/)

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

 *  Thread Starter [zoomantics](https://wordpress.org/support/users/zoomantics/)
 * (@zoomantics)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-16/#post-6351627)
 * I have been able to get the Select File button to display by altering line 236
   to
    $file_ext = wp_check_filetype( $file_name [‘ext’]);
 * However it will not accept any file, no matter what the extension of the file
   is.
 * Could you also change the word INVIA to UPLOAD, please 😉
 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-16/#post-6351636)
 * Hi, it does not work because of the change you have made. We have released an
   update, could you, please, check if the problem described still persists?
 *  Thread Starter [zoomantics](https://wordpress.org/support/users/zoomantics/)
 * (@zoomantics)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-16/#post-6351642)
 * Hi, thanks for the update.
    It didn’t work prior to the changes that I had made.
 * Thanks for the update, it now works as it should.
 * **Feature request:** The ability to upload more than one file per order when 
   you release the next update.
    That would take the plugin from fantastic to BRILLIANT
   🙂
 * Thanks again.
 * Vic
 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-16/#post-6351681)
 * Dear zoomantics,
    unfortunately this feature is not included in the free version
   of the plugin, but we are going to release a premium version with this and many
   other features that might interest you as well. You’ll find it in a few day on
   yithemes.com. Yet, if you want to be informed as soon as it becomes available,
   you can leave us your email address by emailing us at [support@yithemes.com](https://wordpress.org/support/topic/error-when-activating-plugin-16/support@yithemes.com?output_format=md)
   and entering the following text in subject line: “YITH WooCommerce Additional
   Uploads – keep me updated”
 * Best wishes 🙂
    YIThemes
 *  [tsungyu](https://wordpress.org/support/users/tsungyu/)
 * (@tsungyu)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-16/#post-6351719)
 * Hello, I got a broken file when I download the file which upload from my customer.
   What types of files can let customers upload? Is it possible upload zip, doc,
   xls?
 * Thanks
 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-16/#post-6351724)
 * Hi tsungyu,
    the file type allowed are shown on the plugin setting page, you 
   can customize it to your own need.
 * Best wishes

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

The topic ‘Error when activating plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/yith-woocommerce-additional-uploads_c07da9.
   svg)
 * [YITH WooCommerce Uploads](https://wordpress.org/plugins/yith-woocommerce-additional-uploads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-additional-uploads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-additional-uploads/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-additional-uploads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-additional-uploads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-additional-uploads/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-16/#post-6351724)
 * Status: resolved