Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #21907


    Not sure what’s going on here but this appears on my woocommerce product pages in the flashlight theme:

    Warning: uasort() expects parameter 1 to be array, null given in /home/michael3/public_html/wp-content/plugins/woocommerce/woocommerce-template.php on line 791

    I think it might be something to do with the images as the featured image fails to appear altogether – although it can appear as the background image if that is configured in the gallery settings on the product page..

    I have recently installed the latest version of woocommerce… I have previously modified image sizes in media settings in both woocommerce and wp in an effort to make images as sharp as they should be (put image sizes to ‘0’) – but have changed them back to 300-400px settings to see if this problem disappeared – but no change…

    Thanks again,




    Found a post in another theme relating to a similar error on line 791 – did as the answer suggested and deactivated woocommerce extensions which seemed to solve the problem. At least I have the solution (I think it was in the propulsion forum) as a backup if I decide I really need one or more of the woocommerce extensions)….

    https://kriesi.at/support/topic/ (Purchase code hidden if logged out) -20-update




    Hi M,

    I’m glad you were able to find the root of the issue. I know there are still a few things that need to get cleared up with extensions, woocommerce 2.0, themes and everything in between. But at least its working for you now :)




    Hi Devin,

    I believe this error was due to the woocommerce product enquiry extension…



Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Error in woocommerce product page’ is closed to new replies.