Home Forums Space themes support forum Query monitor plugin errors in public site: Function is_internal_meta_key was ca

Query monitor plugin errors in public site: Function is_internal_meta_key was ca

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #693240

    patrik.varga
    Participant

    Hi!

    I have some error message in “doing wrong” tab from query monitor plugin. Can you help me solve these problem?

    I’m using latest versions of: Hitek theme, Elementor, Woocommerce and WordPress too, with php 8.3

    Function is_internal_meta_key was called incorrectly. Általános hozzáad/frissít/lekér meta metódusokat nem szabad használni belső meta adatra, beleértve “_global_unique_id”. Használj gettereket és settereket. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xts-hitek/page.php’), xts_get_template_part, load_template, require(‘/themes/xts-hitek/templates/content-page.php’), xts_get_the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, Elementor\Frontend->apply_builder_in_content, Elementor\Frontend->get_builder_content, Elementor\Core\Base\Document->print_elements_with_wrapper, Elementor\Core\Base\Document->print_elements, do_shortcode, preg_replace_callback, do_shortcode_tag, Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache\{closure}, Elementor\Element_Base->print_element, Elementor\Widget_Base->print_content, Elementor\Widget_Base->render_content, Elementor\Controls_Stack->render_by_mode, XTS\Elementor\Products->render, xts_products_template, wc_get_template_part, load_template, require(‘/themes/xts-hitek/woocommerce/content-product-icons-alt.php’), do_action(‘woocommerce_before_shop_loop_item_title’), WP_Hook->do_action, WP_Hook->apply_filters, xts_product_loop_thumbnail, xts_get_image_html, Elementor\Group_Control_Image_Size::get_attachment_image_html, wp_get_attachment_image, apply_filters(‘wp_get_attachment_image_attributes’), WP_Hook->apply_filters, sc_img_dyn_text_wc_alt_with_sku_ean, WC_Data->get_meta, WC_Data->is_internal_meta_key, wc_doing_it_wrong (This message was added in version 3.2.0.)

    Function is_internal_meta_key was called incorrectly. Általános hozzáad/frissít/lekér meta metódusokat nem szabad használni belső meta adatra, beleértve “_global_unique_id”. Használj gettereket és settereket. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xts-hitek/page.php’), xts_get_template_part, load_template, require(‘/themes/xts-hitek/templates/content-page.php’), xts_get_the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, Elementor\Frontend->apply_builder_in_content, Elementor\Frontend->get_builder_content, Elementor\Core\Base\Document->print_elements_with_wrapper, Elementor\Core\Base\Document->print_elements, do_shortcode, preg_replace_callback, do_shortcode_tag, Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache\{closure}, Elementor\Element_Base->print_element, Elementor\Widget_Base->print_content, Elementor\Widget_Base->render_content, Elementor\Controls_Stack->render_by_mode, XTS\Elementor\Products->render, xts_products_template, wc_get_template_part, load_template, require(‘/themes/xts-hitek/woocommerce/content-product-icons-alt.php’), do_action(‘woocommerce_before_shop_loop_item_title’), WP_Hook->do_action, WP_Hook->apply_filters, xts_product_loop_thumbnail, xts_get_image_html, Elementor\Group_Control_Image_Size::get_attachment_image_html, wp_get_attachment_image, apply_filters(‘wp_get_attachment_image_attributes’), WP_Hook->apply_filters, sc_img_dyn_text_wc_alt_with_sku_ean, WC_Data->get_meta, WC_Data->is_internal_meta_key, wc_doing_it_wrong (This message was added in version 3.2.0.)

    Function is_internal_meta_key was called incorrectly. Általános hozzáad/frissít/lekér meta metódusokat nem szabad használni belső meta adatra, beleértve “_global_unique_id”. Használj gettereket és settereket. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xts-hitek/page.php’), xts_get_template_part, load_template, require(‘/themes/xts-hitek/templates/content-page.php’), xts_get_the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, Elementor\Frontend->apply_builder_in_content, Elementor\Frontend->get_builder_content, Elementor\Core\Base\Document->print_elements_with_wrapper, Elementor\Core\Base\Document->print_elements, do_shortcode, preg_replace_callback, do_shortcode_tag, Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache\{closure}, Elementor\Element_Base->print_element, Elementor\Widget_Base->print_content, Elementor\Widget_Base->render_content, Elementor\Controls_Stack->render_by_mode, XTS\Elementor\Products->render, xts_products_template, wc_get_template_part, load_template, require(‘/themes/xts-hitek/woocommerce/content-product-icons-alt.php’), do_action(‘woocommerce_before_shop_loop_item_title’), WP_Hook->do_action, WP_Hook->apply_filters, xts_product_loop_thumbnail, xts_get_image_html, Elementor\Group_Control_Image_Size::get_attachment_image_html, wp_get_attachment_image, apply_filters(‘wp_get_attachment_image_attributes’), WP_Hook->apply_filters, sc_img_dyn_text_wc_alt_with_sku_ean, WC_Data->get_meta, WC_Data->is_internal_meta_key, wc_doing_it_wrong (This message was added in version 3.2.0.)

    Function is_internal_meta_key was called incorrectly. Általános hozzáad/frissít/lekér meta metódusokat nem szabad használni belső meta adatra, beleértve “_global_unique_id”. Használj gettereket és settereket. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xts-hitek/page.php’), xts_get_template_part, load_template, require(‘/themes/xts-hitek/templates/content-page.php’), xts_get_the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, Elementor\Frontend->apply_builder_in_content, Elementor\Frontend->get_builder_content, Elementor\Core\Base\Document->print_elements_with_wrapper, Elementor\Core\Base\Document->print_elements, do_shortcode, preg_replace_callback, do_shortcode_tag, Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache\{closure}, Elementor\Element_Base->print_element, Elementor\Widget_Base->print_content, Elementor\Widget_Base->render_content, Elementor\Controls_Stack->render_by_mode, XTS\Elementor\Products->render, xts_products_template, wc_get_template_part, load_template, require(‘/themes/xts-hitek/woocommerce/content-product-icons-alt.php’), do_action(‘woocommerce_before_shop_loop_item_title’), WP_Hook->do_action, WP_Hook->apply_filters, xts_product_loop_thumbnail, xts_get_image_html, Elementor\Group_Control_Image_Size::get_attachment_image_html, wp_get_attachment_image, apply_filters(‘wp_get_attachment_image_attributes’), WP_Hook->apply_filters, sc_img_dyn_text_wc_alt_with_sku_ean, WC_Data->get_meta, WC_Data->is_internal_meta_key, wc_doing_it_wrong (This message was added in version 3.2.0.)

    #693302

    Artem Temos
    Keymaster

    Hello,

    To better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere. Also, try to test this without any third-party plugins active.

    Regards

    #693815

    patrik.varga
    Participant

    Dear!

    Sorry, but I cant change the theme or disable plugins, because it’s a live site for our customer.

    #693833

    Artem Temos
    Keymaster

    In your case, the warning is related to a function from an external plugin, not the theme. It is simply an informational message and does not affect the functionality of the site.

    You can safely ignore such notices or deactivate plugins one by one to find out which plugin is generating the message. If the plugin developer updates their code in the future, these warnings will disappear automatically.

    To prevent users from seeing these messages, change define( 'WP_DEBUG', true ); to false in the wp-config.php file.

    #693836

    patrik.varga
    Participant

    If you see my original post, you can see, the error come from your template files. (I dont have any 3rd party plugin, what name is xts-hitek… 🙂 )

    #694004

    Artem Temos
    Keymaster

    In the trace it is visible that the error occurs during the call of the function sc_img_dyn_text_wc_alt_with_sku_ean, which modifies image attributes via the wp_get_attachment_image_attributes filter.
    This function does not belong to the theme and comes from an external plugin or custom code. We checked and did not notice any issues related to the theme or widgets – (https://monosnap.ai/file/lrRuB5NGjR1HnHxU2OMjx4vcvDx7rL)
    Try switching to a default theme; if you cannot do it on the live site, perform the test on a staging environment.

    #695439

    patrik.varga
    Participant

    Thanks your answer. Yep, I have found the problem and fixed it.

    #695459

    Artem Temos
    Keymaster

    Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.

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

The topic ‘Query monitor plugin errors in public site: Function is_internal_meta_key was ca’ is closed to new replies.