SR074

Severity: error

Summary: subscriber entry has an empty handler name

What this means

A subscribers: entry has an empty handler: value. Handler names must be non-empty function names that exist in the resource’s controller file. An empty handler name cannot be resolved at code generation time.

Example that triggers this

subscribers:
  - event: user.created
    handler: ""

How to fix it

Provide a non-empty handler name:

subscribers:
  - event: user.created
    handler: send_welcome_email

Back to top

Shaperail documentation lives in the same repository as the framework so every release has versioned instructions. See the latest release for the most recent version.

This site uses Just the Docs, a documentation theme for Jekyll.