- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2020
05:16 AM
07-18-2020
05:16 AM
Hello!
I am trying to setup:upgrade but its giving me this error
Undefined index: version in /var/www/html/vendor/magento/framework/Setup/Declaration/Schema/Db/DefinitionAggregator.php on line 91
I am not able to trace it. How do I fix this?
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2020
07:41 AM
07-18-2020
07:41 AM
It was a MySQL error.
SHOW variables LIKE 'version' was returning blank output. I had to re-install MySQL server and problem solved.
Thank you!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2020
06:03 AM
07-18-2020
06:03 AM
Re: setup:upgrade Schema creation/updates error in DefinitionAggregator.php
Hi @sanjeevthed6f0,
Did you installed recently some new module in your store. If yes, then you need to check the installer scripts of your module in Setup Folder.
If possible, please share with us the code of module setup scripts.
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2020
07:41 AM