• Resolved luishalabi

    (@luishalabi)


    Hello.

    I am using the Ekommart theme which requires the redux plugin for several visual elements on my ecommerce site but this plugin causes a critical error. The admin page is still accessible through which I have tested deactivating other plugins until the site works again and this plugin seems to be the culprit. Does anyone have any idea how I can fix this. Should I better off rollback woocommerce and the theme to a previous version?

    Thanks in advance.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter luishalabi

    (@luishalabi)

    This is the Debug

    Fatal error: Uncaught Error: Call to undefined function wc_get_loop_prop() in /home/smokes9/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php:376 Stack trace: #0 /home/smokes9/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php(363): WC_Query->adjust_total_pages() #1 /home/smokes9/public_html/wp-includes/class-wp-hook.php(289): WC_Query->handle_get_posts(Array) #2 /home/smokes9/public_html/wp-includes/plugin.php(249): WP_Hook->apply_filters(Array, Array) #3 /home/smokes9/public_html/wp-includes/class-wp-query.php(3179): apply_filters_ref_array(‘the_posts’, Array) #4 /home/smokes9/public_html/wp-includes/class-wp-query.php(3432): WP_Query->get_posts() #5 /home/smokes9/public_html/wp-includes/class-wp-query.php(3541): WP_Query->query(Array) #6 /home/smokes9/public_html/wp-content/themes/ekommart/inc/options/class-options.php(915): WP_Query->__construct(Array) #7 /home/smokes9/public_html/wp-includes/class-wp-hook.php(287): Ekommart_Options->section_site_footer(Array) #8 /home/smokes9/ in /home/smokes9/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 376

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    So I debugged this earlier. If you downgrade to WooCommerce it will work again. The wc_get_loop_prop was a function that WooCommerce used to have, but has since gone away with. Since none of our code calls on that, the only thing I can assume is ekommart is calling this somewhere within its code.

    I helped a user do this today using WP Rollback (to their 3.9x or whatever version) and their site started working again.

    You probably didn’t have WooCommerce upgraded, but WordPress 5.5 does autoupdates now, hence you hit into the problem. ??

    Promise, you’re your third case of this today. You have a quick solution. Once woocommerce is downgraded, disable autoupdates on it. ??

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    FYI, I did put a post on the WooCommerce side. Hopefully we’ll have a more lasting solution soon.

    https://github.com/woocommerce/woocommerce/issues/27394

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    FYIv2, haha. I found a fix where I include the missing WooCommerce file while I wait for them to do a fix on their end. It will be in the release do out tonight! ??

    Thread Starter luishalabi

    (@luishalabi)

    I have tried your new update to Redux and it still does no fix the issue. I tried deleting the plugin and reinstalling but still nothing. I decided to rollback woocommerce to 4.33 and that has now solved the problem. Thanks for the support and i will check back soon if a final fix is done.

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    Nevermind, WooCommerce found the bug affects not just Redux.

    https://github.com/woocommerce/woocommerce/issues/27394#issuecomment-675906060

    Look for WooCommerce 4.4.1 coming out soon which fixes the issue. ??

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    You can also downgrade to WooCommerce 4.3.3 to resolve the issue since the 4.4.1 release is not out yet.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Redux plugin breaks site after Woocommerce 4.4.0 update and Ekommart 1.9 update’ is closed to new replies.