Skip to content

Call to undefined function mg_api_get_region()  #197

Open
@dassels

Description

When I try to visit the page "Mailgun Lists" I get the following error:

Uncaught Error: Call to undefined function mg_api_get_region() in /..../wp-content/plugins/mailgun/mailgun.php:222

You may be able to replicate by:

Create free acount in Mailgun

In Wordpress:

Select Your Region = US/North America (this should match same as in free account)
Use HTTP API = Yes
Mailgun Domain Name = Your sandbox account (eg. sandbox56af3aef949a8e4bd9247c5c6c47e2b4fb.mailgun.org)
API Key = your api key generated in mailgun

Other settings default.

Note: running test configuration works, but attempting to 'view available lists' crashes the page.

Note 2: Commenting out line 222 allows page to load and list available mailing lists configured.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions