Skip to content

PHP Warning When No Access Plan #3046

@brianhogg

Description

@brianhogg

Reproduction Steps

  1. Ensure WP_DEBUG and WP_DEBUG_DISPLAY are on
  2. Delete all access plans for a Course and save
  3. Refresh the page
  4. Start adding a new access plan and close the popup

Expected Behavior

No warning

Actual Behavior

Warning: Undefined variable $checkout_url 

in includes/admin/views/access-plans/access-plan.php line 99

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Awaiting Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions