0

When upgrading to magento 2.3.3 I get the following error.

  • I have already ran composer install
  • Error occurs when running: php bin/magento setup:upgrade

Notice: Undefined index: search_query in /home/magento/htdocs/vendor/magento/framework/Setup/Declaration/Schema/Declaration/SchemaBuilder.php on line 352

1 Answer 1

0

This will be because Magento_Search is turned off. You can get passed this error by enabling the module. in app/etc/config.php change the line

'Magento_Search' => 0,

to

'Magento_Search' => 1,
2
  • I have the same issue, but that was not in my env.php file. I added it but I'm still getting the same error. May 1, 2020 at 20:07
  • @MattCosentino sorry I made a typo, check your app/etc/config.php
    – Adam
    May 3, 2020 at 19:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.