[Support request] PHP Error

Home Forums Support [Support request] PHP Error

Home Forums Support PHP Error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2036934
    Neil

    Could you offer an insight to what may be causing this error? I can’t make head nor tail or it. It seems to point to PHP in page.php but then pointing to blocks. I’m just not sure where to start troubleshooting

    [03-Dec-2021 09:59:07 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND meta_key LIKE 'attribute\\_%'' at line 1 for query SELECT post_id as variation_id, meta_key as attribute_key, meta_value as attribute_value FROM ch_wp_postmeta WHERE post_id IN () AND meta_key LIKE 'attribute\\_%' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/generatepress/page.php'), generate_do_template_part, get_template_part, locate_template, load_template, require('/themes/generatepress/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_blocks, render_block, WP_Block->render, WP_Block->render, WP_Block->render, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback, Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->render, Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->get_products, Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->prime_product_variations

    #2037024
    David
    Staff
    Customer Support

    Hi there,

    The stack trace trickles down to Woocommerce Blocks. Possible issue with display variations.
    when did this error pop up? Any new plugins or code changes to the site ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.