Title: Error activating plugin
Last modified: December 4, 2022

---

# Error activating plugin

 *  Resolved [rlgura](https://wordpress.org/support/users/rlgura/)
 * (@rlgura)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-activating-plugin-49/)
 * When I try to activate the plugin, I receive the following error
 * Parse error: syntax error, unexpected ‘)’ in /home/unnnnnnnnnnn/domains/greatlakesdesigns.
   com/public_html/gura/wp-content/plugins/heic-support/heic-support.php on line
   223
 * I’m running WordPress 6.1.1 and my server is running PHP 7.2 and has ImageMagick
   7.1.0-20 installed
    -  This topic was modified 3 years, 6 months ago by [rlgura](https://wordpress.org/support/users/rlgura/).

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

 *  Thread Starter [rlgura](https://wordpress.org/support/users/rlgura/)
 * (@rlgura)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-activating-plugin-49/#post-16259645)
 * I removed the comma from the end of line 222 and was able to activate the plugin.
   However, I’m still getting an error that HEIC format upload is not allowed. Where
   do I have to allow this or should the plugin installation be doing this?
 *  Plugin Author [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-activating-plugin-49/#post-16265204)
 * Thanks for trying the plugin and sending feedback. I missed that extra comma 
   because I didn’t test on a PHP version old enough for it to throw an error.
 * Can you provide me with a sample file you are unable to upload after activating
   the plugin so I can test it?
 * Thanks again
 *  Thread Starter [rlgura](https://wordpress.org/support/users/rlgura/)
 * (@rlgura)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-activating-plugin-49/#post-16266486)
 * I saw there was an update for the plugin, so I updated, then deactivated and 
   re-activated. It seems to be working now! I had also updated my PHP to 7.4 yesterday,
   so that may also have helped.
    This is a great addition, and I can’t believe 
   they haven’t built in support for HEIC natively yet! This will save me the run
   around of either uploading from my phone or having to make a copy and convert
   my images before uploading!
 * Will the original HEIC file get removed from the library eventually, or do I 
   just need to delete them after they’re converted?
 * Thanks for your efforts on this!
 *  Plugin Author [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-activating-plugin-49/#post-16266688)
 * Oh, great! I published an update for the bug you found this morning so others
   do not run into a similar error.
 * I wrote about why I think WordPress does not include functionality similar to
   this plugin yet on this plugin’s page on my website: [https://breakfastco.xyz/heic-support/](https://breakfastco.xyz/heic-support/)
 * I am unlikely to update this plugin delete the `.heic` images. If you have access
   to wp-cli, this command will delete all HEIC attachment posts (careful!):
 * `wp post delete --force $(wp post list --post_type='attachment' --post_mime_type
   =image/heic --format=ids)`
 *  Thread Starter [rlgura](https://wordpress.org/support/users/rlgura/)
 * (@rlgura)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-activating-plugin-49/#post-16268910)
 * Works for me – I’ll just remove them from my File Manager interface.
    btw – I’m
   using Hostinger as my hosting provider, so they obviously provide ImageMagick
   support! 🙂 [https://www.hostinger.com/wordpress-hosting](https://www.hostinger.com/wordpress-hosting)

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

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

 * ![](https://ps.w.org/heic-support/assets/icon.svg?rev=2975603)
 * [HEIC Support](https://wordpress.org/plugins/heic-support/)
 * [Support Threads](https://wordpress.org/support/plugin/heic-support/)
 * [Active Topics](https://wordpress.org/support/plugin/heic-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/heic-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/heic-support/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [rlgura](https://wordpress.org/support/users/rlgura/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/error-activating-plugin-49/#post-16268910)
 * Status: resolved