• Hi,

    We are installing Give plugin as a part of our one of the ready site. In this process, we install the required plugins, import content, etc. We encountered the following error while auto-installing the Give plugin.

    Undefined index: thousands_separator
    Undefined index: decimal_separator
    Undefined index: currency
    Undefined index: posts_post_type

    WordPress database error Can’t DROP ‘notes’; check that column/key exists for query ALTER TABLE wp_give_donors DROP COLUMN notes; made by do_action(‘admin_init’), WP_Hook->do_action, WP_Hook->apply_filters, give_do_automatic_upgrades, give_v2511_upgrades

    WordPress database error Table ‘responsiveaddonpro.wp_give_sequential_ordering’ doesn’t exist for query SELECT id FROM wp_give_sequential_ordering WHERE payment_id = ‘296’ LIMIT 1; made by do_action_ref_array(‘give_weekly_scheduled_events’), WP_Hook->do_action, WP_Hook->apply_filters, give_mark_abandoned_donations, give_get_payments, Give_Payments_Query->get_payments, Give_Payment->_construct, Give_Payment->setup_payment, Give_Payment->get_meta, give_get_meta, get_post_meta, get_metadata, apply_filters(‘get_post_metadata’), WP_Hook->apply_filters, give_bc_v20_get_payment_meta, Give_Payment->_construct, Give_Payment->setup_payment, Give_Payment->setup_payment_number, Give_Payment->get_serial_code, Give_Sequential_Donation_Number->get_serial_code, Give_Sequential_Donation_Number->get_serial_number, Give_DB->get_column_by

    can you please check and provide the solution for this.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ben Meredith

    (@benmeredithgmailcom)

    Hi there,

    How are you installing the GiveWP plugin? Anything out of the ordinary in terms of doing it via FTP or from the back end of the site?

    The error message there is related to an automatic update background process that should only run when GiveWP is updated, not when activating a fresh install.

    We’d definitely like to get to the bottom of this, but will need some more context on how to reproduce this error.

    Thanks!

    Thread Starter CyberChimps

    (@cyberchimps)

    @benmeredithgmailcom

    Find the code below how we are installing the plugin.
    plugin-install.js

    wp.updates.queue.push(
    {
      action: 'install-plugin',
      data: { 
        slug: 'give'
      }
    });
    
    // Required to set queue.
    wp.updates.queueChecker();

    and to activate the plugin we are using WordPress default function.
    plugin-activate.php
    activate_plugin( 'give/give.php', '', false, true );

    Thread Starter CyberChimps

    (@cyberchimps)

    @benmeredithgmailcom

    Any update on this?

    • This reply was modified 4 years, 6 months ago by CyberChimps.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error while installing the plugin automatically’ is closed to new replies.