If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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…
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)….
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 :)
The topic ‘Error in woocommerce product page’ is closed to new replies.