• Resolved sometimeska

    (@sometimeska)


    HI, my website keeps stopping and my provider asked me to make a php error log. this error comes up frequently, please can you help, thank you Karin.

    [03-May-2024 08:25:47 UTC] PHP Fatal error: Allowed memory size of 335544320 bytes exhausted (tried to allocate 20480 bytes) in /usr/www/users/movingu/wp-includes/class-wpdb.php on line 2320
    [03-May-2024 08:25:47 UTC] PHP Fatal error: Allowed memory size of 335544320 bytes exhausted (tried to allocate 20480 bytes) in /usr/www/users/movingu/wp-includes/load.php on line 412
    [03-May-2024 08:26:31 UTC] The WC_Product::get_total_stock function is deprecated since version 3.0. Replace with get_stock_quantity on each child. Beware of performance issues in doing so..

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter sometimeska

    (@sometimeska)

    Also this error which leads to a timeout error

    [03-May-2024 08:34:49 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:49 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:50 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:50 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:50 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:50 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:50 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:50 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:50 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:50 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:51 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:51 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:52 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:34:52 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:38:35 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:38:35 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:38:37 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:38:37 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:38:54 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:38:54 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:38:54 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:38:54 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:38:56 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:38:56 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:39:12 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:39:12 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:39:12 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:39:12 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [03-May-2024 08:40:23 UTC] PHP Fatal error: Allowed memory size of 335544320 bytes exhausted (tried to allocate 20480 bytes) in /usr/www/users/movingu/wp-includes/class-wpdb.php on line 2320
    [03-May-2024 08:40:23 UTC] PHP Fatal error: Allowed memory size of 335544320 bytes exhausted (tried to allocate 20480 bytes) in /usr/www/users/movingu/wp-includes/load.php on line 412
    [03-May-2024 08:47:15 UTC] PHP Fatal error: Allowed memory size of 335544320 bytes exhausted (tried to allocate 20480 bytes) in /usr/www/users/movingu/wp-includes/class-wpdb.php on line 2320
    [03-May-2024 08:47:15 UTC] PHP Fatal error: Allowed memory size of 335544320 bytes exhausted (tried to allocate 20480 bytes) in /usr/www/users/movingu/wp-includes/load.php on line 412
    [03-May-2024 08:53:18 UTC] PHP Fatal error: Allowed memory size of 335544320 bytes exhausted (tried to allocate 20480 bytes) in /usr/www/users/movingu/wp-includes/class-wpdb.php on line 2320
    [03-May-2024 08:53:18 UTC] PHP Fatal error: Allowed memory size of 335544320 bytes exhausted (tried to allocate 20480 bytes) in /usr/www/users/movingu/wp-includes/load.php on line 412
    HelgaTheViking

    (@helgatheviking)

    I see this notice all the time too:

    [03-May-2024 08:34:49 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.

    But it’s a warning only and therefore not likely to be the source of your timeout error. Either you legitimately need more memory, or more likely you are doing something that is causing an infinite loop (at least that is what is what happens to me).

    Best recommendation would be to start with what were you doing when this timeout happened. Then do “the plugin dance” and start disabling plugins until you get things working. Then at least you know where the problem is coming from. If you still have this issue with only core Woo installed and a default theme, then you might have found a core bug and you’ll want to share steps on how to reproduce it so that the woo team can look in to it.

    /not a woo employee

    Thread Starter sometimeska

    (@sometimeska)

    I think you have it right with infinite loop. But wow, reproducing it… I am not sure. I have a hundred visitors or so shopping on my site for very few items (one of a kind, second hand) and it gets to a point where the site shuts down. Increasing memory definitely doesn’t help, the error msgs continue. I am not sure how to shut down and test, I also have wcfm and multiple vendors… I can only do it on Sundays… but I will try tomorrow.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi there @sometimeska,

    I am not sure how to shut down and test

    You can create a staging site to make the test. This way you will not impact your live store. You can find steps to creating a staging site here.

    You can find further details to running a conflict test here.

    Let us know how it goes.

    Hi 👋 We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.