Skip to content

Error of type E_COMPILE_ERROR: switch statements can only contain one default clause #17

@bsoule

Description

@bsoule

Replicata:

  1. install beeminder-ping plugin to a wordpress blog
  2. configure it to send a +1 to a beeminder goal when you publish
  3. publish a blog post

Expectata

Post gets published, and beeminder goal gets plus oned

Resultata

The wordpress site sends me an error message every time complaining about this line of the beeminder-php-api:

Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 61 of the file /nas/content/live/beemblog/wp-content/plugins/beeminder-ping/vendor/beeminder-api/lib/Beeminder/HttpDriver/Curl.php. Error message: Switch statements may only contain one default clause

Metadata

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