Selective load crashes site

This topic contains 5 replies, has 3 voices, and was last updated by  Mitch Canton 6 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #423042

    Mitch Canton
    Expired Member
    Post count: 167

    If I have selectively removed the WP GeoDirectory script from loading on a page (where I don’t use any of the WPGD features and in an effort to reduce requests and improve performance), but have any of the Addons active on the site that try to load on that page, it crashes (500) the page(s).

    Shouldn’t the Addons somehow check to make sure the Base WPGeoDirectory plugin is active on that page before trying to load?

    This happens to me for the MultiLocation and Payments, but I would assume as I added others the same thing would happen.

    Is there something that can be done to resolve this?

    Thank you.

    #423208

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I have flagged your question for the developers who will respond when they get back in the office on Monday or as soon as possible.

    #423321

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    They do run check but only in the backend not the frontend.

    Stiofan

    #423410

    Mitch Canton
    Expired Member
    Post count: 167

    If they only check in the back end, how do we keep the pages from 500/crashing on the front end? As is, we have to go through every single page and post type to reset the addon status, based on whether the base plugin script has been selectively unloaded. It seems a check on the front end as well would make sense. Is there a reason you have that not happen?

    Thanks.

    #423482

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It was deliberately left only on the backend to save resources so to not have to check the status of a plugin on each page load.

    There is no easy way to resolve this quickly without you editing the addons and removing the admin only part of the check.

    Stiofan

    #423508

    Mitch Canton
    Expired Member
    Post count: 167

    I understand. Our issue is that we must make the Prices and Locations add-ons active “Globally” for them to work properly with package ids code. Problem then is that if add-ons are on Globally, but the Base plugin is not loaded on a specific page, the page 500’s.

    I need to go through every page and post type on the site to make sure I disable add-ons script whenever and wherever the base plugin script is not loaded. Not convenient at all, but I will sacrifice the convenience for the ability to save resources and improve performance.

    I appreciate the rationale and explanation.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount