Answers.Body: <p>You need Imagick package for Mosaico to work. If you already have the package installed then i believe its should be related to SE post <a href="https://civicrm.stackexchange.com/questions/30856/failed-to-locate-mosaico-graphics-driver/31270#31270">Failed to locate Mosaico graphics driver</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-12T08:07:31.567Z
Answers.Text: Thanks Pradeep. I have imagick installed and other SE post doesn’t help.
Answers.UserDisplayName: Tapash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-12T20:36:18.317Z
Answers.Text: You also need to ensure Imagick is enabled for your specific version of PHP. I received this error last week and just had to switch Imagick from 5.x to 7.2. Contact your host provider and they can do this for you.
Answers.UserDisplayName: Justin Moore
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-11T18:18:43.970Z
Answers.LastActivityDate: 2019-07-11T18:18:43.970Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>The issue occurs when attempting to upload an image in the template builder. We receive the message "Unexpected upload error (Service unavailable (with message))". It also writes to the Drupal log:</p>
  
  <p>Error: Class 'Imagick' not found in CRM_Mosaico_Utils::processUpload() (line 231 of /home/pillar/public_html/sites/default/files/extensions/uk.co.vedaconsulting.mosaico/CRM/Mosaico/Utils.php).</p>
  
  <p>Anyone knows if there's any fix for this please? Thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-09-19T22:27:41.783Z
Comments.Text: Related issue https://github.com/veda-consulting/uk.co.vedaconsulting.mosaico/issues/312
Comments.UserDisplayName: Francesc Bassas i Bullich
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-10-07T11:32:28.567Z
Comments.Text: This fixed my issue
Comments.UserDisplayName: Tapash
Tags: <error><mosaico>
Title: Cannot upload image on mosaico template
ThreadText: # Cannot upload image on mosaico template
  
  (Asked by: username_0 on 2019-07-11)
  
  The issue occurs when attempting to upload an image in the template builder. We receive the message "Unexpected upload error (Service unavailable (with message))". It also writes to the Drupal log:
  
  Error: Class 'Imagick' not found in CRM\_Mosaico\_Utils::processUpload() (line 231 of /home/pillar/public\_html/sites/default/files/extensions/uk.co.vedaconsulting.mosaico/CRM/Mosaico/Utils.php).
  
  Anyone knows if there's any fix for this please? Thanks
  
  **Tags:** error, mosaico
  
  > **Comments:**
  > **username_1**: Related issue https://github.com/veda-consulting/uk.co.vedaconsulting.mosaico/issues/312  
  > **username_0**: This fixed my issue  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-07-11. Score: 2
  
  You need Imagick package for Mosaico to work. If you already have the package installed then i believe its should be related to SE post [Failed to locate Mosaico graphics driver](https://civicrm.stackexchange.com/questions/30856/failed-to-locate-mosaico-graphics-driver/31270#31270)
  
  > **Comments:**
  > **username_0**: Thanks Pradeep. I have imagick installed and other SE post doesn’t help.  
  > **username_3**: You also need to ensure Imagick is enabled for your specific version of PHP. I received this error last week and just had to switch Imagick from 5.x to 7.2. Contact your host provider and they can do this for you.  
  
  ---
  
  