WordPress database error when searching for product URL
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from sebastiaan on November 9, 2022, 00:23When searching for any keyword in the product URL field, I get the following database error:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY wp_posts.post_title DESC LIMIT 0, 10' at line 5 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_icl_translations wpml_translations ON wp_posts.ID = wpml_translations.element_id AND wpml_translations.element_type = CONCAT('post_', wp_posts.post_type) 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 ( ( ( wpml_translations.language_code = 'nl' OR 0 ) AND wp_posts.post_type IN ('post','page','attachment','wp_block','wp_template','wp_template_part','wp_navigation','e-landing-page','elementor_library','product','product_variation','ckit_size_guide' ) ) OR wp_posts.post_type NOT IN ('post','page','attachment','wp_block','wp_template','wp_template_part','wp_navigation','e-landing-page','elementor_library','product','product_variation','ckit_size_guide' ) ) AND ( ) ORDER BY wp_posts.post_title DESC LIMIT 0, 10 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
When searching for any keyword in the product URL field, I get the following database error:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
ORDER BY wp_posts.post_title DESC
LIMIT 0, 10' at line 5 for query
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts LEFT JOIN wp_icl_translations wpml_translations
ON wp_posts.ID = wpml_translations.element_id
AND wpml_translations.element_type = CONCAT('post_', wp_posts.post_type)
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 ( ( ( wpml_translations.language_code = 'nl' OR 0 ) AND wp_posts.post_type IN ('post','page','attachment','wp_block','wp_template','wp_template_part','wp_navigation','e-landing-page','elementor_library','product','product_variation','ckit_size_guide' ) ) OR wp_posts.post_type NOT IN ('post','page','attachment','wp_block','wp_template','wp_template_part','wp_navigation','e-landing-page','elementor_library','product','product_variation','ckit_size_guide' ) ) AND ( )
ORDER BY wp_posts.post_title DESC
LIMIT 0, 10
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_postsQuote from Pablo Borysenco on November 9, 2022, 10:47Hello
what plugin version number are you using?
Hello
what plugin version number are you using?
Quote from sebastiaan on November 12, 2022, 18:29Hi Pablo,
I'm using V 2.1.1
Hi Pablo,
I'm using V 2.1.1
Quote from Pablo Borysenco on November 14, 2022, 11:11Hello
Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png and wp-admin+FTP access - https://share.pluginus.net/image/i20210618130637.png
Update the plugin to latest version - https://bulk-editor.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
Hello
Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png and wp-admin+FTP access - https://share.pluginus.net/image/i20210618130637.png
Update the plugin to latest version - https://bulk-editor.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
Quote from sebastiaan on November 14, 2022, 18:19Hi Pablo,
I updated the plugin and provided the requested details.
Hi Pablo,
I updated the plugin and provided the requested details.
Quote from Pablo Borysenco on November 15, 2022, 11:40Hello
I checked your site.
you don't have any Extern/Affiliate product, it means that this field - https://share.pluginus.net/image/i20221115093427.png - for all products is empty and even in this case filtering does not make errors - https://share.pluginus.net/video/v20221115094014.mp4
Hello
I checked your site.
you don't have any Extern/Affiliate product, it means that this field - https://share.pluginus.net/image/i20221115093427.png - for all products is empty and even in this case filtering does not make errors - https://share.pluginus.net/video/v20221115094014.mp4
Quote from sebastiaan on November 15, 2022, 13:46Hey Pablo,
I know, I realized later that I should search on slug instad of URL. But still, the error was weird. It's also weird how the error is now gone, because it still happened yesterday after updating the plugin and deleting all cache. Anyway, I suppose this is solved regardless. Thank you!
Hey Pablo,
I know, I realized later that I should search on slug instad of URL. But still, the error was weird. It's also weird how the error is now gone, because it still happened yesterday after updating the plugin and deleting all cache. Anyway, I suppose this is solved regardless. Thank you!
Quote from Pablo Borysenco on November 16, 2022, 10:59Hello
OK! If the error occurs again please write to me.
Welcome;)
Hello
OK! If the error occurs again please write to me.
Welcome;)