• Register
0 votes
19 views
7 4 2
2,420 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

To solve this issue you need to follw this below script. The problem in 5this case happen in the imagemagick. You need to disable it in php.ini . In case your host supports it you can apply a custom php.ini file.

Code:

sudo apt-get install imagemagick
DELETE FROM wp_termmeta  WHERE meta_id=0;
DELETE FROM wp_terms  WHERE term_id=0;
DELETE FROM wp_term_taxonomy  WHERE term_taxonomy_id=0;
DELETE FROM wp_commentmeta  WHERE meta_id=0;
DELETE FROM wp_comments  WHERE comment_ID=0;
DELETE FROM wp_links  WHERE link_id=0;
DELETE FROM wp_options  WHERE option_id=0;
DELETE FROM wp_postmeta  WHERE meta_id=0;
DELETE FROM wp_users  WHERE ID=0;
DELETE FROM wp_posts  WHERE ID=0;
DELETE FROM wp_usermeta  WHERE umeta_id=0;

ALTER TABLE  wp_termmeta ADD PRIMARY KEY(meta_id);
ALTER TABLE  wp_terms ADD PRIMARY KEY(term_id);
ALTER TABLE  wp_term_taxonomy ADD PRIMARY KEY(term_taxonomy_id);
ALTER TABLE  wp_commentmeta ADD PRIMARY KEY(meta_id);
ALTER TABLE  wp_comments ADD PRIMARY KEY(comment_ID);
ALTER TABLE  wp_links ADD PRIMARY KEY(link_id);
ALTER TABLE  wp_options ADD PRIMARY KEY(option_id);
ALTER TABLE  wp_postmeta ADD PRIMARY KEY(meta_id);
ALTER TABLE  wp_users ADD PRIMARY KEY(ID);
ALTER TABLE  wp_posts ADD PRIMARY KEY(ID);
ALTER TABLE  wp_usermeta ADD PRIMARY KEY(umeta_id);

ALTER TABLE wp_termmeta CHANGE meta_id meta_id  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE wp_terms CHANGE term_id term_id  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE wp_term_taxonomy CHANGE term_taxonomy_id term_taxonomy_id  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE wp_commentmeta CHANGE meta_id meta_id  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE wp_comments CHANGE comment_ID comment_ID  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE wp_links CHANGE link_id link_id  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE wp_options CHANGE option_id option_id  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE wp_postmeta CHANGE meta_id meta_id  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE wp_users CHANGE ID ID  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE wp_posts CHANGE ID ID  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE wp_usermeta CHANGE umeta_id umeta_id  BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT;

Hopefully, now you are able to solve this issue.

10 6 4
31,120 points

Related questions

0 votes
2 answers 1.8K views
1.8K views
Problem : I am getting following error login error: there is an error in logging you into this application. please try again later.
asked Nov 16, 2019 peterlaw 6.9k points
0 votes
1 answer 60 views
60 views
Problem : I manage some of my WordPress,WooCommerce online shops which are running problem free from few years now. In recent times, we have noticed that the transactions via Paypal have not been working for us. I tried to process the order myself using the PayPal and ... saying that "there is not a problem with PayPal" So without even pulling apart the WooCommerce code, How can I fix the issue.
asked Jan 3, 2020 alecxe 7.5k points
0 votes
1 answer 202 views
202 views
Problem : While doing the drupal 6 to 7 upgrade I am facing a not so helpful message "The website encountered an unexpected error. Please try again later." everytime I go to the certain pages. example) /admin/config What is a best way to find out what is causing ... it? All I can think of right now is to start disabling the contributed modules until that the page works or looking through a logs.
asked Jan 21, 2020 jwilliam 3.9k points
0 votes
1 answer 3 views
3 views
Problem: wordpress the_post_thumbnail.
asked 3 days ago Dan phillip 2.4k points
1 vote
1 answer 118 views
118 views
Problem: I have very basic knowledge of WordPress.Recetly I have started working on WordPress project. If I try to install any plugin or any of the theme then all of sudden the WordPress starts giving me below error : "Installation failed: Download failed. No working transports ... unable to fix it. So I am looking for someone who is expert in WordPress and who can help me in fixing above error.
asked Jun 12, 2020 Martin K 6.6k points
0 votes
1 answer 6 views
6 views
Problem: we are unable to process your request at this time. please try again later.
asked Feb 23 Muneeb Saadii 4.2k points
0 votes
1 answer 155 views
155 views
Problem: I am working on Fancybox for the very first time I am trying to display the inline content (it is a div with the image linked to the new page). My div and image are displayed properly in a modal but if a image is clicked to navigate to a new page then in that case I ... website.com/file/id:64/ext:.png" class="img" /></a></div></div> </li> Can someone help me in fixing my fancybox error.
asked Jul 14, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 272 views
272 views
Problem : I am having the following error whenever I am trying to open Excel Online in Chrome, But Excel Online in Safari is working fine for me. Does anyone know how to fix this issue? Sign in Something went wrong and we can't sign you in ... . Please try again later. The Microsoft account login server has detected too many repeated authentication attempts. Please wait a moment and try again.
asked Nov 26, 2019 alecxe 7.5k points
0 votes
1 answer 533 views
533 views
Problem : My code works perfectly on my friend's laptop But throws below error on my laptop. &ldquo;Error: a jni error has occurred, please check your installation and try again&rdquo; I have tried running the code on a Eclipse Juno using Java 7. I have also tested it and ... my final year project and I need it to work on my laptop at any case, I will be very grateful to anyone who solves it.
asked Jan 18, 2020 jwilliam 3.9k points
0 votes
1 answer 7 views
7 views
Problem: please check your network connection and try again android.
asked Feb 19 Dan phillip 2.4k points