Home Forums WoodMart support forum database connection error

database connection error

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

    favor.hr
    Participant

    Greetings,
    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.
    #639284

    Luke Nielsen
    Member
    #641060

    favor.hr
    Participant

    Greetings,

    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.

    #641061

    favor.hr
    Participant

    error log

    #641062

    favor.hr
    Participant

    error log attached

    Attachments:
    You must be logged in to view attached files.
    #641099

    Luke Nielsen
    Member

    Hello,

    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

    #645038

    favor.hr
    Participant

    Thank 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_posts

    #645088

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    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

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