Home / Forums / WoodMart support forum / database connection error
Home › Forums › WoodMart support forum › database connection error
database connection error
- This topic has 7 replies, 3 voices, and was last updated 1 year, 4 months ago by
Artem Temos.
-
AuthorPosts
-
February 19, 2025 at 12:34 am #639197
favor.hrParticipantGreetings,
we’ve experienced a problem with the database connection error that appears more and more frequently.We don’t know the cause. The theme was installed on a clone of the old website which was renamed into https://old.solipapar.com and the main page in production is https://solipapar.com
Can you please assist and check.
Thank you in advance.
Attachments:
You must be logged in to view attached files.February 19, 2025 at 10:25 am #639284
Luke NielsenMemberHello,
Please check the article below for help:
Kind Regards
February 26, 2025 at 11:59 am #641060
favor.hrParticipantGreetings,
than you for your response. We have found few causes of SQL database errors – and it’s something wrong withing the code.
Please, could you check.
There are few instances that are crushing our site, and it’s something that has to do with the code.
– woodmart and elementor problem
Than you in advance. Please check these problems and their sources, because they’re keping our site crashing, and it has to be operating.
Regards.
February 26, 2025 at 12:00 pm #641061
favor.hrParticipanterror log
February 26, 2025 at 12:01 pm #641062February 26, 2025 at 1:13 pm #641099
Luke NielsenMemberHello,
The thing is that the error is not showing the code from the theme files. So first please, check how it works with some default WordPress themes like TwentyTwenty Five or WooCommerce Storefront to understand if it is our theme issue or not.
I await your response.
Kind Regards
March 12, 2025 at 10:04 am #645038
favor.hrParticipantThank you, I understand.
Unfortunately, we were unable to change the wordpress theme long enough to determine weather is the theme or the core plugin the cause of the Database connection error. ( It’s a webshop and such testing will deform the visual decreasing the selling time).
This one is persistent (the other elementor error was solved by updating the core plugin and the theme):
When you see this error log, could you please give us some advice or clue on where to chech in the code?Thank you in advance.
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 ‘THEN 2 ELSE 6 END), cidl_posts.post_date DESC
LIMIT 0, 12’ at line 11 for query SELECT SQL_CALC_FOUND_ROWS cidl_posts.ID
FROM cidl_posts
WHERE 1=1 AND (
cidl_posts.ID NOT IN (
SELECT object_id
FROM cidl_term_relationships
WHERE term_taxonomy_id IN (437)
)
) AND (((cidl_posts.post_title NOT LIKE ‘% Guaranteed no burns*- Powerful steam for ultimate crease removal- Lightweight iron ideal for vertical steaming- Large 1.8L detachable watertank for easy refilling- SteamGlide Elite Soleplate, ultimate gliding%’) AND (cidl_posts.post_excerpt NOT LIKE ‘% Guaranteed no burns*- Powerful steam for ultimate crease removal- Lightweight iron ideal for vertical steaming- Large 1.8L detachable watertank for easy refilling- SteamGlide Elite Soleplate, ultimate gliding%’) AND (cidl_posts.post_content NOT LIKE ‘% Guaranteed no burns*- Powerful steam for ultimate crease removal- Lightweight iron ideal for vertical steaming- Large 1.8L detachable watertank for easy refilling- SteamGlide Elite Soleplate, ultimate gliding%’))) AND (cidl_posts.post_password = ”) AND ((cidl_posts.post_type = ‘product’ AND (cidl_posts.post_status = ‘publish’ OR cidl_posts.post_status = ‘cwg_mailsent’ OR cidl_posts.post_status = ‘cwg_mailnotsent’ OR cidl_posts.post_status = ‘cwg_subscribed’ OR cidl_posts.post_status = ‘cwg_unsubscribed’ OR cidl_posts.post_status = ‘cwg_converted’)))
GROUP BY cidl_posts.ID
ORDER BY (CASE WHEN THEN 2 ELSE 6 END), cidl_posts.post_date DESC
LIMIT 0, 12 made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_postsMarch 12, 2025 at 11:09 am #645088Hello,
This query is not related to our theme. It probably comes with some of the installed plugins or with WooCommerce itself. Unfortunately, we can’t answer exactly.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register