Skip to content

馃悶 Bug Report: Error when installing non-FAIR plugin聽#327

Description

@afragen

When installing a non-FAIR plugin there is no expanded did string attached to the slug. This results in an issue in set_slug_to_hashed() as there is a missing array key.

Detailed Description

As above, a non-FAIR plugin installed via the Add Plugins page results in an error for a missing array key in set_slug_to_hashed()

Dependencies check failed: ( ! ) Warning: Undefined array key 1 in /Users/afragen/Documents/github/fair-plugin/inc/packages/admin/namespace.php on line 292

Expected Behavior

No errors

Current Behavior

Missing array key error when installing a dot org plugin.

Steps to Reproduce

  1. Go to Add Plugins
  2. Try to install a dot org plugin
  3. Error as above noted and Activate button doesn't load

Context (Environment)

Possible Solution

See PR #328

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions