Point me in the right direction (error log)

iKalanko

Active member
Babiato Lover
Dec 23, 2019
148
45
28
I check a woocommerce website Im making and got this errors:

Code:
[12-Feb-2023 20:48:47 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 1398 made by do_action('wp_ajax_customize_save'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Customize_Manager->save, WP_Customize_Manager->save_changeset_post, wp_update_post, wp_insert_post, wp_transition_post_status, do_action('transition_post_status'), WP_Hook->do_action, WP_Hook->apply_filters, _wp_customize_publish_changeset, WP_Customize_Manager->trash_changeset_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:01 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 438 made by wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:01 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 437 made by wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:02 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 436 made by wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:02 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 435 made by wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:02 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 16 made by wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:02 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 15 made by wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:02 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 14 made by wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:13 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 1264 made by wp_trash_post, do_action('wp_trash_post'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Post_Data::trash_post, WC_Data_Store->__call, WC_Product_Variable_Data_Store_CPT->delete_variations, wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:13 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 1263 made by wp_trash_post, do_action('wp_trash_post'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Post_Data::trash_post, WC_Data_Store->__call, WC_Product_Variable_Data_Store_CPT->delete_variations, wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:13 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 1262 made by wp_trash_post, do_action('wp_trash_post'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Post_Data::trash_post, WC_Data_Store->__call, WC_Product_Variable_Data_Store_CPT->delete_variations, wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:13 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 1261 made by wp_trash_post, do_action('wp_trash_post'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Post_Data::trash_post, WC_Data_Store->__call, WC_Product_Variable_Data_Store_CPT->delete_variations, wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 20:54:13 UTC] WordPress database error Table 'yourserver_sh0p1.tga89_mclean_scan' doesn't exist for query DELETE FROM tga89_mclean_scan WHERE postId = 860 made by wp_trash_post, do_action('trashed_post'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_WPMC_Core->delete_attachment_related_data
[12-Feb-2023 22:27:39 UTC] Failed to insert log entry: WordPress database error: Processing the value for the following field failed: code. The supplied value may be too long or contains invalid data.
[12-Feb-2023 22:27:43 UTC] Failed to insert log entry: WordPress database error: Processing the value for the following field failed: code. The supplied value may be too long or contains invalid data.
[13-Feb-2023 00:53:09 UTC] Failed to insert log entry: WordPress database error: Processing the value for the following field failed: code. The supplied value may be too long or contains invalid data.
[13-Feb-2023 00:53:20 UTC] Failed to insert log entry: WordPress database error: Processing the value for the following field failed: code. The supplied value may be too long or contains invalid data.
[13-Feb-2023 03:27:16 UTC] wc_get_product was called incorrectly. wc_get_product should not be called before the woocommerce_init, woocommerce_after_register_taxonomy and woocommerce_after_register_post_type actions have finished. Backtrace: require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce->init, wc_load_cart, WooCommerce->initialize_session, WC_Session_Handler->init, WC_Session_Handler->init_session_cookie, WC_Session_Handler->destroy_session, WC_Session_Handler->forget_session, wc_empty_cart, WC_Cart->empty_cart, do_action('woocommerce_cart_emptied'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Ship_Multiple->clear_session, wcms_session_get, WC_Session->__get, WC_Session->get, maybe_unserialize, unserialize, WC_Data->__wakeup, WC_Product_Variation->__construct, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Variation_Data_Store_CPT->read, WC_Product_Variation_Data_Store_CPT->generate_attribute_summary, wc_get_formatted_variation, wc_attribute_label, wc_get_product, wc_doing_it_wrong. This message was added in version 3.9.
[13-Feb-2023 03:27:16 UTC] wc_get_product was called incorrectly. wc_get_product should not be called before the woocommerce_init, woocommerce_after_register_taxonomy and woocommerce_after_register_post_type actions have finished. Backtrace: require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce->init, wc_load_cart, WooCommerce->initialize_session, WC_Session_Handler->init, WC_Session_Handler->init_session_cookie, WC_Session_Handler->destroy_session, WC_Session_Handler->forget_session, wc_empty_cart, WC_Cart->empty_cart, do_action('woocommerce_cart_emptied'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Ship_Multiple->clear_session, wcms_session_get, WC_Session->__get, WC_Session->get, maybe_unserialize, unserialize, WC_Data->__wakeup, WC_Product_Variation->__construct, WC_Product_Simple->__construct, WC_Product->__construct, WC_Data_Store->read, WC_Product_Variation_Data_Store_CPT->read, WC_Product_Variation_Data_Store_CPT->generate_attribute_summary, wc_get_formatted_variation, wc_attribute_label, wc_get_product, wc_doing_it_wrong. This message was added in version 3.9.

One of the plugins giving me that error is the ''Media Cleaner Pro"

I also got this error today with the plugin "Registration & Login with Mobile Phone Number":

Code:
[12-Feb-2023 19:42:54 UTC] PHP Warning:  Trying to access array offset on value of type null in /home/yourserver/public_html/main/wp-content/plugins/registration-login-with-mobile-phone-number/front-end/login-with-phone-number-front-end.php on line 704
[12-Feb-2023 19:42:54 UTC] PHP Warning:  Trying to access array offset on value of type null in /home/yourserver/public_html/main/wp-content/plugins/registration-login-with-mobile-phone-number/front-end/login-with-phone-number-front-end.php on line 706
[12-Feb-2023 20:33:56 UTC] PHP Warning:  Trying to access array offset on value of type null in /home/yourserver/public_html/main/wp-content/plugins/registration-login-with-mobile-phone-number/front-end/login-with-phone-number-front-end.php on line 1245
[12-Feb-2023 20:33:56 UTC] PHP Warning:  Trying to access array offset on value of type null in /home/yourserver/public_html/main/wp-content/plugins/registration-login-with-mobile-phone-number/front-end/login-with-phone-number-front-end.php on line 1246
[12-Feb-2023 20:33:56 UTC] PHP Warning:  Trying to access array offset on value of type null in /home/yourserver/public_html/main/wp-content/plugins/registration-login-with-mobile-phone-number/front-end/login-with-phone-number-front-end.php on line 1574
[12-Feb-2023 20:33:56 UTC] PHP Warning:  Trying to access array offset on value of type null in /home/yourserver/public_html/main/wp-content/plugins/registration-login-with-mobile-phone-number/front-end/login-with-phone-number-front-end.php on line 1575

Appreciate the time and help you guys could give me.
 

MrSam_1

Well-known member
Staff member
Administrator
Dec 1, 2018
17,930
24,308
120
babiato.tech
I check a woocommerce website Im making and got this errors:
Your media cleaner was installed incorrectly or table is incorrectly named.
For log entry it seems that your data is incompatible or larger with/than defined field in table.
for Woocommerce call find class-woocommerce.php
and this code
Code:
if ( $this->is_request( 'frontend' ) ) {
   wc_load_cart();
}

$this->load_webhooks();

// Init action.
do_action( 'woocommerce_init' );

change it with this
Code:
$this->load_webhooks();

// Init action.
do_action( 'woocommerce_init' );

// Classes/actions loaded for the frontend and for ajax requests.
if ( $this->is_request( 'frontend' ) ) {
   wc_load_cart();
}

I also got this error today with the plugin "Registration & Login with Mobile Phone Number":
Do you have a geoplugin installed? Because all warnings refer to
Code:
$jsonData['geoplugin_countryName']
$jsonData['geoplugin_city']
 

iKalanko

Active member
Babiato Lover
Dec 23, 2019
148
45
28
for Woocommerce call find class-woocommerce.php
and this code
Code:
if ( $this->is_request( 'frontend' ) ) {
   wc_load_cart();
}

$this->load_webhooks();

// Init action.
do_action( 'woocommerce_init' );

change it with this
Code:
$this->load_webhooks();

// Init action.
do_action( 'woocommerce_init' );

// Classes/actions loaded for the frontend and for ajax requests.
if ( $this->is_request( 'frontend' ) ) {
   wc_load_cart();
}


Do you have a geoplugin installed? Because all warnings refer to
Code:
$jsonData['geoplugin_countryName']
$jsonData['geoplugin_city']

This is how I got it so how it would be?
Code:
        // Classes/actions loaded for the frontend and for ajax requests.
        if ( $this->is_request( 'frontend' ) ) {
            wc_load_cart();
        }

        $this->load_webhooks();

        /**
         * Action triggered after WooCommerce initialization finishes.
         */
        do_action( 'woocommerce_init' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingSinceComment
    }

    /**
Thank you very much for your help
 

MrSam_1

Well-known member
Staff member
Administrator
Dec 1, 2018
17,930
24,308
120
babiato.tech
Just have the if statement with wc_load_cart after do_action(woocommerce_init)
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu