Quote from erwinkrijgsman on July 30, 2023, 07:01
Hello i get a database error message in the debug log
[29-Jul-2023 11:31:32 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 ')
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100' at line 3 for query
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'future' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending' OR wp_posts.post_status = 'private')) AND ( )
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100
made by do_action('wp_ajax_woobe_get_products'), WP_Hook->do_action, WP_Hook->apply_filters, WOOBE->woobe_get_products, WOOBE_PRODUCTS->gets, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
[29-Jul-2023 11:32:29 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 ')
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100' at line 3 for query
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'future' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending' OR wp_posts.post_status = 'private')) AND ( )
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100
made by do_action('wp_ajax_woobe_get_products'), WP_Hook->do_action, WP_Hook->apply_filters, WOOBE->woobe_get_products, WOOBE_PRODUCTS->gets, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
[29-Jul-2023 11:32:48 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 ')
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100' at line 3 for query
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'future' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending' OR wp_posts.post_status = 'private')) AND ( )
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100
made by do_action('wp_ajax_woobe_get_products'), WP_Hook->do_action, WP_Hook->apply_filters, WOOBE->woobe_get_products, WOOBE_PRODUCTS->gets, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
[29-Jul-2023 11:32:59 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 ')
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100' at line 3 for query
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'future' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending' OR wp_posts.post_status = 'private')) AND ( )
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100
made by do_action('wp_ajax_woobe_get_products'), WP_Hook->do_action, WP_Hook->apply_filters, WOOBE->woobe_get_products, WOOBE_PRODUCTS->gets, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
Thanks
Beste regards
Erwin Krijgsman
Hello i get a database error message in the debug log
[29-Jul-2023 11:31:32 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 ')
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100' at line 3 for query
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'future' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending' OR wp_posts.post_status = 'private')) AND ( )
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100
made by do_action('wp_ajax_woobe_get_products'), WP_Hook->do_action, WP_Hook->apply_filters, WOOBE->woobe_get_products, WOOBE_PRODUCTS->gets, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
[29-Jul-2023 11:32:29 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 ')
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100' at line 3 for query
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'future' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending' OR wp_posts.post_status = 'private')) AND ( )
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100
made by do_action('wp_ajax_woobe_get_products'), WP_Hook->do_action, WP_Hook->apply_filters, WOOBE->woobe_get_products, WOOBE_PRODUCTS->gets, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
[29-Jul-2023 11:32:48 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 ')
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100' at line 3 for query
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'future' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending' OR wp_posts.post_status = 'private')) AND ( )
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100
made by do_action('wp_ajax_woobe_get_products'), WP_Hook->do_action, WP_Hook->apply_filters, WOOBE->woobe_get_products, WOOBE_PRODUCTS->gets, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
[29-Jul-2023 11:32:59 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 ')
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100' at line 3 for query
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'future' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending' OR wp_posts.post_status = 'private')) AND ( )
ORDER BY wp_posts.post_date DESC
LIMIT 0, 100
made by do_action('wp_ajax_woobe_get_products'), WP_Hook->do_action, WP_Hook->apply_filters, WOOBE->woobe_get_products, WOOBE_PRODUCTS->gets, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
Thanks
Beste regards
Erwin Krijgsman