Title: Database Error
Last modified: April 22, 2019

---

# Database Error

 *  Resolved [saimrasheed](https://wordpress.org/support/users/saimrasheed/)
 * (@saimrasheed)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-284/)
 * Hello. I have seen my error log and I am receiving this Error. This error is 
   showing with a database of Jetpack.
    Can u guide me and tell me the solution.
 * WordPress database error Deadlock found when trying to get lock; try restarting
   transaction for query DELETE FROM `oc_options` WHERE `option_name` = ‘_transient_jetpack_idc_allowed’
   made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘
   wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/jetpack/
   jetpack.php’), require_once(‘/plugins/jetpack/class.jetpack-idc.php’), Jetpack_IDC::
   init, Jetpack_IDC->__construct, Jetpack::check_identity_crisis, Jetpack::validate_sync_error_idc_option,
   get_transient, delete_option
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-error-284%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-284/#post-11448217)
 * Interesting, that’s the first time I’ve seen that.
 * Please try deleting Jetpack specifically from the Plugins section of your site’s
   Dashboard: [https://jetpack.com/support/reconnecting-reinstalling-jetpack/#reinstalling-jetpack](https://jetpack.com/support/reconnecting-reinstalling-jetpack/#reinstalling-jetpack)
 * This will clear out Jetpack’s settings, and it should work properly after a reinstall.
 *  Thread Starter [saimrasheed](https://wordpress.org/support/users/saimrasheed/)
 * (@saimrasheed)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-284/#post-11448409)
 * I have installed Yesterday. And today received tht error in error log
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-284/#post-11448493)
 * Right, please try the above exactly as directed again now. That should correct
   the issue.
 *  Thread Starter [saimrasheed](https://wordpress.org/support/users/saimrasheed/)
 * (@saimrasheed)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-284/#post-11451271)
 * Received this error in error log. this is different from above error if u see.
 * [21-Apr-2019 08:39:12 UTC] WordPress database error Deadlock found when trying
   to get lock; try restarting transaction for query DELETE FROM `oc_options` WHERE`
   option_name` = ‘_transient_jetpack_akismet_key_is_valid’ made by require(‘wp-
   blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/
   themes/Newspaper/single.php’), get_header, locate_template, load_template, require_once(‘/
   themes/Newspaper/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action,
   WP_Hook->apply_filters, sharing_add_header, Sharing_Service->get_blog_services,
   Sharing_Service->get_all_services, Jetpack::is_akismet_active, get_transient,
   delete_option
 * I have followed ur method by deactivating and reactivating jetpack and also uninstall
   and then reinstall.
 * also plz tell me that how i should create new topic in jetpack forum. i need 
   help in other issue too
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-284/#post-11454981)
 * The second error is about `/themes/Newspaper/single.php` specifically. Jetpack,
   or rather Akismet, seems to be along for the ride here for some reason, but it’s
   not the source of the problem.
 * This, however, points to something else being the source of the Deadlock.
 * If you deactivate all plugins except Jetpack, does the issue continue?
 *  Thread Starter [saimrasheed](https://wordpress.org/support/users/saimrasheed/)
 * (@saimrasheed)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-284/#post-11455014)
 * Current issue with Jetpack.
 * Dear Sir,
 * 1) When I Publish a Post A Notification Appears that Post Published and Sending
   Email to Subscribers. But Unfortunately No email Received from Jetpack about 
   Post Published. (Domain: [https://opportunitiescorners.info](https://opportunitiescorners.info)).
   Because i have also Subscribed my Email & I didnt received Email.
 * 2) Also My Post is Not Publicized Automatically on My social Networks.
 * 3) Also When i subscribed my other Email from my website. After Subscribed it
   Says Success! A confirmation Email is Sent. But when i check my Email, I am Not
   getting Confirmation Èmail from Jetpack.
 * 4) But, i am Still receiving Email from Jetpack whenever a New Person is subscribed
   but i think they are subscribing through WordPress.com Reader NOT from my Blog/
   website.
 * 5) But as i said i didnt get email. I checked Spam folder also. I have also De
   activated and activated Jetpack. I have also deleted and then installed Again.
   I have also de activated all Plugins.
 * 6) The Above Points 1 & 2 are solved today and Received Email about Post Published.
   BUT STILL THE PROBLEM NO 3 IS NOT SOLVED.
 * I have checked Spam folder too.
 * How ever i am still receiving email from those who are subscribing. But i think
   those are subscribing from WordPress.com. Reader not from my website. As i have
   tried my email. But i didnt receive confirmation emai
 * Can i get Help Please. If u can resolve my issue Please.
 * I have followed Ur method like deactivating and then activating. uninstall and
   then reinstall. but still not receiving a confirmation email.
 * You can Try Yourself by Going to My website [https://Opportunitiescorners.info](https://Opportunitiescorners.info)&
   enter your email in Jetpack Subscription in the Sidebar & see if you receive 
   Confirmation Email or Not. I am Not receiving Confirmation Email & that’s why
   Today Less amount of people subscribed because they are not getting confirmation
   email
 * Current Jetpack Errors in Cpanel Error Log:
    [22-Apr-2019 03:20:56 UTC] WordPress
   database error Deadlock found when trying to get lock; try restarting transaction
   for query DELETE FROM oc_options WHERE option_name = ‘_transient_timeout_jetpack_idc_allowed’
   made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘
   wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/jetpack/
   jetpack.php’), require_once(‘/plugins/jetpack/class.jetpack-idc.php’), Jetpack_IDC::
   init, Jetpack_IDC->__construct, Jetpack::check_identity_crisis, Jetpack::validate_sync_error_idc_option,
   get_transient, delete_option
 * [22-Apr-2019 16:15:36 UTC] PHP Warning: array_shift() expects parameter 1 to 
   be array, string given in /home4/s8l6zzck/opportunitiescorners.info/wp-content/
   plugins/jetpack/class.json-api-endpoints.php on line 354
 * [22-Apr-2019 16:29:58 UTC] PHP Warning: array_shift() expects parameter 1 to 
   be array, string given in /home4/s8l6zzck/opportunitiescorners.info/wp-content/
   plugins/jetpack/class.json-api-endpoints.php on line 354
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-284/#post-11455241)
 * Topic continues at [https://wordpress.org/support/topic/not-receiving-emails-about-subscription-confirmation/](https://wordpress.org/support/topic/not-receiving-emails-about-subscription-confirmation/)
 * Per forum rules, please stop duplicating things, either stick to one topic or
   open a new topic for each issue, never do both at the same time: [https://wordpress.org/support/guidelines/](https://wordpress.org/support/guidelines/)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Database Error’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [not receiving email](https://wordpress.org/support/topic-tag/not-receiving-email/)

 * 7 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-284/#post-11455241)
 * Status: resolved