Title: Getting multiple error
Last modified: April 14, 2024

---

# Getting multiple error

 *  Resolved [joydipkar73](https://wordpress.org/support/users/joydipkar73/)
 * (@joydipkar73)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/getting-multiple-error/)
 * After installation I am getting multiple error as below:
   1. on clicking on Media
   menu:
 * “Uncaught Error: Call to undefined function SiteGround_Optimizer\Images_Optimizer\
   exec() in \/home\/admin\/domains\/xxxxx.com\/public_html\/wp-content\/plugins\/
   sg-cachepress\/core\/Images_Optimizer\/Images_Optimizer.php:317\nStack trace:\
   n#0 \/home\/admin\/domains\/xxxxx.com\/public_html\/wp-content\/plugins\/sg-cachepress\/
   core\/Images_Optimizer\/Images_Optimizer.php(366): … and more
 * 2. Clicking on Image Compression -> Edit link:
 * url : [https://xxxxx.com/wp-json/siteground-optimizer/v1/feature-popup/images](https://xxxxx.com/wp-json/siteground-optimizer/v1/feature-popup/images)
   {“
   status”:400,”data”:[],”message”:”Error”}
 * 3. on clicking Use WebP Images :
   [https://xxxxx.com/wp-json/siteground-optimizer/v1/feature-popup/webp-support](https://xxxxx.com/wp-json/siteground-optimizer/v1/feature-popup/webp-support){“
   status”:400,”data”:[],”message”:”Error”}
 * 4. on enabling cache, i get the below error
   **Warning**: is_dir(): open_basedir
   restriction in effect. File(/home/admin/domains/xxxxx.com/public_html/wp-content/
   cache/sgo-cache/.htaccess/wp-json/) is not within the allowed path(s): (/home/
   admin/:/tmp/:/var/tmp/:/opt/alt/php81/usr/share/pear/:/dev/urandom:/usr/local/
   php81/lib/:/usr/local/php81/lib/:/usr/local/php74/lib/:/usr/local/lib/php/) in**/
   home/admin/domains/xxxxx.com/public_html/wp-content/plugins/sg-cachepress/core/
   File_Cacher/File_Cacher.php** on line **529**
 * this is a new site, please suggest, almost no plugins are installed except a 
   few renowned one
    -  This topic was modified 2 years, 1 month ago by [joydipkar73](https://wordpress.org/support/users/joydipkar73/).

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

 *  Plugin Support [Dimo Dimov](https://wordpress.org/support/users/dimodi/)
 * (@dimodi)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/getting-multiple-error/#post-17685538)
 * Hello [@joydipkar73](https://wordpress.org/support/users/joydipkar73/),
 * The errors you encountered with the Speed Optimizer plugin appear to be caused
   by restrictions on your hosting server. Specifically, the plugin requires a function
   called exec(), which may not be enabled on the server. This function is essential
   for some of the plugin’s features to function properly.
 * To address this, we would recommend reaching out to your hosting provider and
   see if they will be able to enable the function and provide further assistance.
 * Regards,
   Dimo
 *  Thread Starter [joydipkar73](https://wordpress.org/support/users/joydipkar73/)
 * (@joydipkar73)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/getting-multiple-error/#post-17685743)
 * ok, i am using vps. can you guide me how to enable that?
 * also what about the other errors?
 *  Plugin Support [Daniela Ivanova](https://wordpress.org/support/users/daniellaivanova/)
 * (@daniellaivanova)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/getting-multiple-error/#post-17687254)
 * Hello [@joydipkar73](https://wordpress.org/support/users/joydipkar73/),
 * You will have to contact your hosting provider so they can enable the exec() 
   function for you. This is also valid for the open_basedir() directive as well.
   We are not aware of your server’s setup which is why we are not able to be more
   specific about how to enable those.
 * Regarding the other errors – they are again most likely due to web hosting restrictions,
   however, we are not able to specify exactly, because the error is not very descriptive.
 * Best Regards,
   Daniela Ivanova

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

The topic ‘Getting multiple error’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Daniela Ivanova](https://wordpress.org/support/users/daniellaivanova/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/getting-multiple-error/#post-17687254)
 * Status: resolved