• Resolved joydipkar73

    (@joydipkar73)


    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
    {“status”:400,”data”:[],”message”:”Error”}

    3. on clicking Use WebP Images :
    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 7 months, 1 week ago by joydipkar73.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Dimo Dimov

    (@dimodi)

    Hello @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

    (@joydipkar73)

    ok, i am using vps. can you guide me how to enable that?

    also what about the other errors?

    Plugin Support daniellaivanova

    (@daniellaivanova)

    Hello @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.