• Resolved duellingpixels

    (@duellingpixels)


    There seems to be an issue with RecipePress and WooCommerce.

    When this plugin is activated on a site that is running WooCommerce, not all the orders will load in the WooCommerce Admin screen. The issue is persistent with the new Woocommerce admin interface or when this is disabled.

    I have tried to find the cause of the issue, however, I can’t seem to find it.

    Though the issue goes away when RecipePress is de-activated.

    Cheers.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kemory Grubb

    (@w33zy)

    Hello @duellingpixels

    I just checked on live site that is running WC and Recipepress and I am not having any issues with the new admin interface of WooCommerce.

    Can you check your browser’s JavaScript console for any errors and share them here?

    Thread Starter duellingpixels

    (@duellingpixels)

    Hi Kemory.

    Thanks for getting back so quickly!

    I have already checked this, there are no errors generated. I have debugged for a couple of weeks now. I deactivated plugins, changed themes and performed all the standard debugging checks.

    The only thing that fixes the issue is de-activating RecipePress. It is a multisite install with domain mapping, so maybe there is something to do with this.

    Plugin Author Kemory Grubb

    (@w33zy)

    Hey,

    Do you know how to block requests from Chrome’s network tab, to block requests to specific JS files and stop them from loading? I would suggest you block recipepress-admin.js from loading on your site to test if that is where the conflict lies.

    As for your setup with multisite, I can’t test such an environment right now. I will have to research how best to test this in my dev PC.

    Thread Starter duellingpixels

    (@duellingpixels)

    Hi Kemory,

    I managed to resolve my issue by commenting out line 228 and 229 in the class-init file:

    $this->loader->add_filter( ‘manage_edit-rpr_recipe_sortable_columns’, $plugin_admin, ‘sort_admin_columns’ );
    //$this->loader->add_filter( ‘posts_clauses’, $plugin_admin, ‘sort_admin_columns_by_taxonomy’, 10, 2 );

    Something about these functions was causing the issue.

    Cheers.

    Plugin Author Kemory Grubb

    (@w33zy)

    Hello @duellingpixels

    I have been looking at this issue for a while now and I can’t figure it out or recreate it.

    I have wrapped what I think is the offending function in another if conditional to see if I can better isolate it from WC. Can you take a look at this change to see if it helps?

    https://gitlab.com/w33zy/recipepress-reloaded/-/blob/master/inc/admin/class-admin.php#L440

    • This reply was modified 4 years, 3 months ago by Kemory Grubb.
    Thread Starter duellingpixels

    (@duellingpixels)

    Hi Kemory,

    That worked a treat!

    Thanks!

    Plugin Author Kemory Grubb

    (@w33zy)

    That’s good, so now this has been fixed in v1.9.0

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin conflict with WooCommerce’ is closed to new replies.