No results found. Try again with different words?

Search must be at least 3 characters.

Blog Featured Image Size Not Working / Error in Image Processing Library

Sidebar Image

Did not find a solution? We are here to help you succeed.

The Astra theme is known for its ease of use and extensive customization options. However, there come some instances where you might encounter issues related to image processing functionalities.

This document covers potential causes and solutions for these specific issues.

What are the Common Image Processing Issues with Astra Theme

If you’re experiencing any of the following issues with image processing in Astra, the information below can help you troubleshoot and potentially resolve them:

  • Error message: “Class is not found – WP_Image_Editor_Imagick”
  • Error message: “Call to undefined method WP_Image_Editor_Imagick::get_error_message()”
  • Bloated wp_options table:ย Entries similar to “wp_addon_database_migration_batch_4935ee10bd16fca38a7cb9a9f5904d” appear in the WordPress database table named “wp_options”.

How to Resolve Common Image Processing Issues with Astra

In the above cases, there might sometimes be a conflict with the specific servers. For such cases you can disable Image Processing from Astra using the below filter.

You can use the following filter in theย child themeโ€™s functions.php

Before you make any customizations, itโ€™s a best practice to create a child theme to avoid affecting your main theme. If you already have a child theme, you can skip this step.

Now, you can follow the below enlisted steps to disable Image Processing from Astra.

Step 1: Access Your WordPress Dashboard

Log in to your WordPress admin dashboard. This is where youโ€™ll be making the necessary changes to your WooCommerce category pages.

Step 2: Open the Child Themeโ€™s functions.php File

Navigate to โ€œAppearanceโ€ in the WordPress dashboard and select โ€œTheme Editor.โ€ In the Theme Editor, find and click on the โ€œfunctions.phpโ€ file. This file contains the code that controls various aspects of your WordPress theme.

Step 3: Insert the Code

Once youโ€™re in the โ€œfunctions.phpโ€ file, youโ€™ll need to insert the following code snippet:

add_filter( 'astra_image_resizer', '__return_false' );

Step 4: Save Your Changes

After inserting the code, make sure to save your changes by clicking the โ€œUpdate Fileโ€ button. This ensures that the modifications take effect on your website.

By following these steps, you can fix the image processing issues encountered with the Astra theme and ensure your website functions as intended.

We hope this document has been helpful. Please feel free to leave a comment below if you have any queries.

Was this article helpful?
Sidebar Image

Did not find a solution? We are here to help you succeed.

Related Docs

Join 1,653,898+ Happy Site Owners Using Astra

Whether you are a beginner, small business owner, or professional web developer, Astra provides all the tools you need to easily build your beautiful WordPress website.

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form