• Resolved javi10

    (@javi10)


    Hello, good morning, I need urgent help please. My website is generating error, I always try to recover it again by reloading the wp-load file and this works, but the next day it generates the same error again. I tried to look for the solution in the debug.log file and this is what it shows me:

    [08-Sep-2023 11:50:37 UTC] WordPress database error Deadlock error found when trying to get lock; try restarting transaction for query DELETE FROM wp_options WHERE option_name = ‘_transient_timeout_cmplz_shortcode_cookie-statement-eu’ made by require(‘wp-blog-header. php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/astra/search.php’), get_header, locate_template, load_template, require_once(‘/themes/astra/header. php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, cmplz_cookie_admin->enqueue_assets, CMPLZ_COOKIEBANNER->get_front_end_settings, cmplz_document->get_page_title, cmplz_document->get_shortcode_page_id, get_transient, delete_option

    This error started generating since I updated WordPress and all plugins a few days ago.

    Could someone help me?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @javi10,

    This seems to be a temporary conflict in a query. If you clear the logs, the reload the page, does the error return?

    If you have debugging enabled, please try disabling debugging, as with debugging on the upgrade might keep running.

    Thread Starter javi10

    (@javi10)

    Hi Rogier.

    The error return again, when you say disabling debuggin, you mean add this funcion define( ‘WP_DEBUG’, false ); in the wp-config file?

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @javi10 Yes, that’s it.

    as the error is regarding the clearing of the transient which stores the shortcode page id for the EU cookie policy, you can also try to manually set it, by

    1) finding the page id of the eu cookie policy. You can see it in the URL when you edit this page in the back-end.
    2) Then add this to your theme’s functions.php:

    (if the page_id is 14)

    set_transient( "cmplz_shortcode_cookie-statement-eu", 14, WEEK_IN_SECONDS );

    Then open your site, so it runs, then remove it again.

    Or, alternatively, clear all transients once with this plugin:
    https://www.ads-software.com/plugins/artiss-transient-cleaner/

    Let me know if that works!

    Thread Starter javi10

    (@javi10)

    Hi Rogier. Thank you very much. It worked

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘My website is having error’ is closed to new replies.