verbb / super-table

Super-charge your Craft workflow using Super Table.
MIT License
316 stars 47 forks source link

Can't install on Craft 4 #557

Open JayBox325 opened 6 months ago

JayBox325 commented 6 months ago

Describe the bug

I am installing Super Table on a Craft 4 project (we're not ready for Craft 5 yet as it's too early in it's lifecycle), and it's impossible to install due to a paradoxical error:

You need to be on at least Super Table 2.7.1 before you can update to Super Table 3.0.0.

I am on Craft 4, so I am trying to install Super Table 3.0.0, but I can't install this until I've installed 2.7.1, which I can't do without being on Craft 3.

Steps to reproduce

  1. Set up a new Craft 4 project
  2. Try to install Super Table 3.0.0

Craft CMS version

4.9.4

Plugin version

3.0.0

Multi-site?

No

Additional context

No response

engram-design commented 6 months ago

This error should only appear if you have some Super Table data in your database or in your project config files. It will never appear for a new, fresh install. Can you confirm if this is an upgrade, or it was upgraded at some point?

You need to be on the most recent Craft 3 release before upgrading to Craft 4. This error shows that there's some Super Table data, so it was or currently is installed, but at an older version.

I would suggest either removing the Super Table data before installing, or you can remove the row in the plugins database table.