• Resolved albertmart

    (@albertmart)


    hi, I have an error on woocommerce home page. how can I fix it? I have deactivated all plugins and changed the theme to the storefront. but nothing worked

Viewing 9 replies - 31 through 39 (of 39 total)
  • Thread Starter albertmart

    (@albertmart)

    analytics page:
    https://ibb.co/7gxHj9z

    how to do this?

    You may want to try to disable image regeneration in WooCommerce to see if that corrects the issue.
    
    This can be done by adding the following snippet to your child theme’s functions.php file or with a plugin like Code Snippets:
    
    add_filter( 'woocommerce_background_image_regeneration', '__return_false' );

    i dont use code snippets because it has error for my website. where can i find function.php? and how to write code in it?

    • This reply was modified 2 years, 5 months ago by albertmart.
    Thread Starter albertmart

    (@albertmart)

    Thread Starter albertmart

    (@albertmart)

    most of the plugins bugs are in line 384
    like this:
    Warning: file_exists(): open_basedir restriction in effect. File(/psr/http-client/src/ClientInterface.php) is not within the allowed path(s): (/home/albertma/:/tmp/:/var/tmp/:/opt/alt/php81/usr/share/pear/:/dev/urandom:/usr/local/php74/lib/:/usr/local/php81/lib/:/usr/local/php74/lib/:/usr/local/php72/lib/:/usr/local/lib/php/) in /home/albertma/domains/albertmart.com/public_html/wp-content/plugins/ml-slider/metagallery/vendor/composer/ClassLoader.php on line 384

    and in line 384:
    if (file_exists($file = $dir . $pathEnd))

    do I need to adjust these codes?

    Thread Starter albertmart

    (@albertmart)

    why all the bugs are from this line of code???:
    if (file_exists($file = $dir . $pathEnd)) {

    Plugin Support Sérgio L. a11n

    (@csnlima)

    Hi @albertmart,

    Thanks for sending all the details.

    Can you please confirm if you have increased the WordPress memory above 256MB?

    https://woocommerce.com/document/increasing-the-wordpress-memory-limit/

    As for the errors, can you please check with your hosting company if all the permissions are set correctly on your server side?

    If so, as the errors are related to other plugins can you please contact them?

    Thread Starter albertmart

    (@albertmart)

    code snippet error:
    https://pastebin.com/SdtqTUb3

    code snippet:
    https://ibb.co/9yJch6x

    increasing memory limit:
    https://ibb.co/RC1VY5H

    ———————————————————-
    *****If so, as the errors are related to other plugins can you please contact them?

    ml-slider
    flexible-shipping
    *********
    do you know an alternative for these plugins or only flexible shipping or how can I fix the lines?
    ————————————————————-

    Thread Starter albertmart

    (@albertmart)

    and guys, I don’t know why I don’t receive an email from WordPress when I get an error. it says check your admin inbox

    Mirko P.

    (@rainfallnixfig)

    Hi @albertmart,

    Since you’re using rev-sharing plugins please contact us at WooCommerce.com > My Account > Support. You may need to log into your WooCommerce.com account before you can access that page.

    Please include a link to this forum thread in order for us to see what’s already been done.

    We will be able to help you further there.

    Cheers.

    Thread Starter albertmart

    (@albertmart)

    thanks, Mr. Mirko. sure

Viewing 9 replies - 31 through 39 (of 39 total)
  • The topic ‘error with purple danger sign’ is closed to new replies.