• Resolved cvaliandes

    (@cvaliandes)


    Hello
    I create products through woocommerce and when i go to the front end i cannot see the product i can see the related products below but the page product is empty.

    When i turn debugging on i get the following message:

    Function woocommerce_sort_product_tabs() expects an array as the first parameter. Defaulting to empty array. in /home/parents/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1825

    Does anyone have any idea how to solve this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @cvaliandes ,

    From your description, it looks like you have a faulty single product page. The problem can be coming from a plugin, custom template, or customization through your theme’s functions.php file.

    It is hard to pinpoint a singular place from where you can fix this so the workflow that you can follow is this –

    1. Activate a default theme i.e. Storefront/Twenty Twenty
    2. Deactivate all plugins except WooCommerce and then activate one by one to find out the faulty plugin.

    Check the single product page after each deactivation/activation. If the problem is coming from a theme or plugin it will be better to communicate with that exact developer to get more information on their custom codes.

    I hope the above information helps.

    Thank you ??

    Hi there,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Thank you ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘woocommerce_sort_product_tabs() expects an array’ is closed to new replies.