Wordpress can be installed but not updated

Thanks for the code. I have tried it and it works flawlessly. I can’t put the solution on your post. Sometimes the button appears and sometimes it doesn’t, surely I made some mess by opening the discussion.

Do you also have to launch the line with export with Drupal?
I have used Drupal in the past and liked it a lot but I found very poor templates. Also, some plugins I needed were dropped so I decided to switch to Java for the more demanding sites and use Wordpress only for blogging. Have Drupal’s themes improved over the years?