Multiple errors on the product page, pls urgent

This topic has 8 replies, 2 voices, and was last updated 2 years, 2 months ago ago by Olga Barlow

  • Avatar: Marlon
    Marlon
    Participant
    January 18, 2022 at 19:10

    Hi,

    I have a problem and I need to solve it as soon as possible.

    I get this when creating a new item:

    Warning: shuffle() expects parameter 1 to be array, null given in /home/customer/www/lapetra.co/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 954

    Warning: array_slice() expects parameter 1 to be array, null given in /home/customer/www/lapetra.co/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 957

    Warning: array_map(): Expected parameter 2 to be an array, null given in /home/customer/www/lapetra.co/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 2018

    Warning: array_filter() expects parameter 1 to be array, null given in /home/customer/www/lapetra.co/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 2018

    Warning: shuffle() expects parameter 1 to be array, null given in /home/customer/www/lapetra.co/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1236

    Warning: array_reverse() expects parameter 1 to be array, null given in /home/customer/www/lapetra.co/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1240

    Warning: shuffle() expects parameter 1 to be array, null given in /home/customer/www/lapetra.co/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 954

    Warning: array_slice() expects parameter 1 to be array, null given in /home/customer/www/lapetra.co/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 957

    Warning: array_values() expects parameter 1 to be array, null given in /home/customer/www/lapetra.co/public_html/wp-content/themes/xstore/woocommerce/single-product/related.php on line 22

    Warning: array_map(): Expected parameter 2 to be an array, null given in /home/customer/www/lapetra.co/public_html/wp-content/themes/xstore/woocommerce/single-product/related.php on line 22

    Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/customer/www/lapetra.co/public_html/wp-content/themes/xstore/woocommerce/single-product/related.php on line 24

    The link of product is: https://lapetra.co/producto/estrella-madera-la-petra/

    Thanks!

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 18, 2022 at 20:48

    Hello,

    Do you use any third-party WooCommerce plugins?
    Could you, please, disable them and check if you still have a problem?

    Regards

    Avatar: Marlon
    Marlon
    Participant
    January 18, 2022 at 21:44

    I have deactivated all the plugins that have to do with woocommerce and the problem continues.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 19, 2022 at 12:51

    Hello,

    Provide us with WP Dashboard and FTP access to your site, please. Also, provide video of your actions to find out when you get the mentioned errors. You can use Recordit tool to create and shore the video.

    Regards

    Avatar: Marlon
    Marlon
    Participant
    January 19, 2022 at 20:17

    Hello,

    add info on private area.

    Thanks

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 20, 2022 at 16:00

    Hello,

    Warnings come because of the custom code in your child theme https://prnt.sc/26gciql
    We are not responsible for custom changes that you do in the child theme. So, check your code and improve that.

    Regards

    Avatar: Marlon
    Marlon
    Participant
    January 20, 2022 at 19:26

    Ok, thanks!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 21, 2022 at 16:25

    Hello,

    You are welcome.

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.