• Resolved umairee95

    (@umairee95)


    I get intermittent 500 internal server errors when I try to open a few pages on my website. I am on a cloud plan at Hostgator and my host has suggested this:

    You can contact them and tell them that, you are getting Intermittent issue on your website, when you try to add multiple products on your website. This is what is recorded in the Error log, when you get the error

    [08-Nov-2018 10:57:32 UTC] add_to_cart_fragments is deprecated since version 3.0.0! Use woocommerce_add_to_cart_fragments instead.
    [08-Nov-2018 10:57:32 UTC] The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.
    [08-Nov-2018 10:57:34 UTC] add_to_cart_fragments is deprecated since version 3.0.0! Use woocommerce_add_to_cart_fragments instead.
    [08-Nov-2018 10:57:34 UTC] The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.
    [08-Nov-2018 10:59:27 UTC] PHP Warning: PHP Startup: imagick: Unable to initialize module

    Please ask them, how exactly can this issue be fixed on your Cloud Server. Also request them, if there’s any PHP Settings needs to be updated on this server, to find the permanent fix for this issue.

    You help would be highly appreciated.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • @umairee95
    Hello
    Have you made some plugins updates?
    Looks like something is using some old functions.

    Hi @umairee95,

    The message you are seeing means that some part of the site code is using outdated functions that are no longer supported by the current WooCommerce version.

    Usually, this code can come from the theme or one of the plugins you have installed, so you can try to find out which one by using this plugin – https://www.ads-software.com/plugins/string-locator/ – and search for the add_to_cart_fragments string.

    When you find where it’s coming from, you can report it to this plugin (or theme) developer so they can fix it.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting Intermittent 500 Internal Server Error’ is closed to new replies.