0

I've done a composer install of Drupal 8.7 on a live server (php 7.2); run install.php and all works fine, but when I drop that database and upload the database from local development (along with any custom theme and files), I get the following php error:

Uncaught PHP Exception Drupal\Core\Entity\Query\QueryException: "'reusable' not found" at /home/username/public_html/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php line 367
  • 2
    You need to run updates (block_content_update_8600 specifically) – Clive May 22 at 11:27
  • How similar are your local and your live enviroment? Do both of them have require PHP 7.2 in their platform reqs in the composer.json? – leymannx May 22 at 11:28
  • Thanks both of you - yes php7.2 is required in composer.json - running updatedb threw errors though, so will investigate further - looks like something to do with updating from media_entity to core media - seemed to have worked, but updatedb is saying media_entity is missing (even though it's not installed) – iain-g May 22 at 15:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.