fbpx

Huge number of query calls on home

WCMp Core

Huge number of query calls on home Open

Viewing 7 reply threads
  • Author
    Posts
    • #128953
      lucas
      Participant

      I’m getting a huge number of query calls (via query monitor) on my homepage. That’s affecting the performance.

      Any thoughts?

    • #128986

      Hi @lucas, our team will look into this, kindly provide them some time.

      p.s. Our office will be closed due to holidays (4th to 10th Oct). Hence, the response might get delayed.

    • #129046
      lucas
      Participant

      It seems that you guys hook

      wcmp_get_all_blocked_vendors
      Copy

      on every pre_get_posts call, making the page very slow on performance. How can I disable this via code without commenting on the plugin file?

    • #129170

      Hi,
      We have checked our end. but no issue found.
      Can you please create a small video about your issue, So we will check this.

      Regards,

    • #129177
      lucas
      Participant

      I don’t have a video. You can check the number of calls on the image above. There should be a flag for disabling this.

    • #129248

      Hi,
      We have checked our end, their is no issue. Kindly checkout the video – https://app.vmaker.com/record/Kv9Llh8BNlxA6Dgx

      Kindly share a staging site, admin access and FTP for debug your end.

      Do not forget mark as private while sharing the details.

      Regards,

    • #129249
      lucas
      Participant

      Can you guys add a flag to disable this call? We have like 3000 vendors and each page this call is made.

    • #129302

      Hi,
      Please add this code in the function.php of the current active theme and check :

      add_action('init', 'remove_wcmp_core_function');
      function remove_wcmp_core_function(){
          global $WCMp;
          remove_filter('pre_get_posts', array($WCMp->product, 'convert_business_id_to_taxonomy_term_in_query'));
      }
      Copy

      Note- Using above code Some WCMp functionality will not work.

      Regards,

Viewing 7 reply threads

Please LOGIN to reply to this topic

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price