Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deadlock found when trying to get lock #114

Open
mplusb opened this issue Oct 11, 2021 · 0 comments
Open

Deadlock found when trying to get lock #114

mplusb opened this issue Oct 11, 2021 · 0 comments

Comments

@mplusb
Copy link

mplusb commented Oct 11, 2021

https://wordpress.org/support/topic/deadlock-found-when-trying-to-get-lock-2/

o get this PHP error:

Deadlock found when trying to get lock; try restarting transaction za upit UPDATE wp_posts as pt JOIN (

SELECT ID, (@row_number:=@row_number + 1) AS rank
FROM wp_posts
WHERE post_type = ‘post’ AND post_status IN ( ‘publish’, ‘pending’, ‘draft’, ‘private’, ‘future’ )
ORDER BY menu_order ASC
) as pt2
ON pt.id = pt2.id
SET pt.menu_order = pt2.rank; koji je postavio/la require_once(‘wp-admin/admin.php’), do_action(‘admin_init’), WP_Hook->do_action, WP_Hook->apply_filters, SCPO_Engine->refresh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant