ethercreative / seo

SEO utilities including a unique field type, sitemap & redirect manager
MIT License
269 stars 96 forks source link

Craft CMS requirement in composer file too low #341

Closed paulgoodfield closed 3 years ago

paulgoodfield commented 3 years ago

Description

composer.json file for latest version of plugin (3.6.7) states that the required version of craftcms/cms is "^3.2.0" but the src/fields/SeoField.php file uses a namespaceId() method from the craft\helpers\Html.php file that doesn't exist until Craft version 3.5.

Steps to reproduce

  1. Install a version of Craft >= 3.2 but < 3.5
  2. Install latest version of SEO plugin (3.6.7)
  3. Attempt to create a new field in the Control Panel of the CMS
  4. See PHP error message:

Call to undefined method craft\helpers\Html::namespaceId()

Additional info