• Resolved Oleksandr

    (@track77)


    Hello
    Today I received the error that occurred by the Siteground plugin

    WordPress database error Got a packet bigger than 'max_allowed_packet' bytes for query [.DATA.]
     WHERE <code>option_name</code> = 'siteground_data_store' made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Form_Handler::process_login, wp_signon, do_action('wp_login'), WP_Hook->do_action, WP_Hook->apply_filters, SiteGround_Data\Settings->send_data_on_login, SiteGround_Data\Settings->send_data, SiteGround_Data\Settings->store_data_locally, update_option

    The problem has occurred because the data about plugins write thousand times.
    I can send the fix and log file to your email.
    Kind regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Plamen M

    (@plamenm)

    Hello Oleksandr,

    Could you help us recreate the issue, please provide us with click-through instructions (in the format: click here, type this, click there) so that we can try to see the issue in a test installation.

    We look forward to your reply.

    Regards,
    Plamen.M
    Tech Support Team
    SiteGround.com

    Thread Starter Oleksandr

    (@track77)

    Just log out and log in again.
    But this bug occurred only today and I can’t reproduce it even on my test site, that almost the same as the production site.

    I fix this by modifying the file Settings.php

    public function send_data_on_login() {
    // to prevent duplicate calls
        remove_action( 'wp_login', array( $this, 'send_data_on_login' ) );
        if ( false === $this->should_send_data() ) {
            return;
        }
    // to prevent duplicate calls
        update_option( $this->tracking_option, time() );
    
        $this->send_data();
    }
    Plugin Support Plamen M

    (@plamenm)

    Thank you for the update, Oleksandr,

    Our plugin developers are aware of this particular issue. A fix is on its way in the coming updates of the plugin. Make sure to keep the plugin always updated with its latest versions.

    Regards,
    Plamen.M
    Tech Support Team
    SiteGround.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress database error’ is closed to new replies.