Franchises will not save as enabled in Prices form

This topic contains 6 replies, has 3 voices, and was last updated by  Kiran 7 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #426490

    John Roope
    Free User
    Post count: 3

    In the pricing packages the franchises field will not save as enabled. I have tried clearing version numbers.

    #426516

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Sorry to hear that there is a problem saving the settings.

    In most cases this is due to one of the following issues:

    1. Browser cache : clear the browser cache and try again
    2. Plugin conflict : disable non-GD plugins and test the settings to see which is causing the issue

    We would be happy to take a look at it for you. Please reply with the following information after you have attempted the solutions above.

    Package title for the package you are trying to change:

    WordPress Credentials
    WP Admin Login URL:
    WP Admin Username:
    WP Admin Password:

    #427032

    John Roope
    Free User
    Post count: 3

    I’m getting this error

    WordPress database error Unknown column ‘enable_franchise’ in ‘field list’ for query UPDATE

    wp_geodir_price

    SET

    enable_franchise

    = 1,

    franchise_cost

    = ”,

    franchise_limit

    = ‘0’ WHERE

    pid

    = 5 /* From [www.azfoodandwine.com/wp-admin/admin-ajax.php?action=geodir_payment_manager_ajax] in [/nas/content/live/azfoodandwine/wp-content/plugins/geodir_franchise/includes/gdfranchise_functions.php:2520] */ made by do_action(‘wp_ajax_geodir_payment_manager_ajax’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, geodir_payment_manager_ajax, geodir_add_edit_price, do_action(‘geodir_after_save_package’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, geodir_franchise_after_save_package, referer: https://www.azfoodandwine.com/wp-admin/admin.php?

    So apparently the columns aren’t being written into the database. Could this be an issue with admin-ajax.php or max_input_vars?

    I’ve tried disabling all plugins and switching the theme, we are on WP Engine and I have disabled cache. I don’t think they will allow us to whitelist anything in mod_security. I did bump the max_input_vars to 3000. Any suggestions?

    #427042

    Kiran
    Moderator
    Post count: 7069

    Hi John,

    The error you mentioned indicates that franchise field not added in price package table. after running tool from GeoDirectory > GD tools > Clear All DB Versions will fix this problem.

    If that not works then post site admin credentials in private reply, we will look into there.

    Thanks,
    Kiran

    #427122

    John Roope
    Free User
    Post count: 3
    This reply has been marked as private.
    #427123

    John Roope
    Free User
    Post count: 3

    After reinstalling the payments plugin again manually, clearing the db versions, and clearing cache it seems to be working. Thank you.

    #427196

    Kiran
    Moderator
    Post count: 7069

    Glad to hear that 🙂

    Thanks for letting us know.

    Kiran

Viewing 7 posts - 1 through 7 (of 7 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