WordPress.org

Support

Support » Plugins and Hacks » Undefined index "display_player_excerpt"

Undefined index "display_player_excerpt"

  • brandonferens
    Member

    @brandonferens

    I found this error:
    Notice: Undefined index: display_player_excerpt in /path/to/plugins/powerpress/powerpress.php on line 220

    It only displays on excerpts.

    They way I corrected it was to go to the settings and click save. Once I did this, the above mentioned index was written to the db.

    I fixed the issue by adding:
    && isset($GeneralSettings['display_player_excerpt'])
    to the if statement on line 220 of powerpress.php

    https://wordpress.org/plugins/powerpress/

Viewing 1 replies (of 1 total)
  • Plugin Author Angelo Mandato
    Participant

    @amandato

    Thanks for letting us know about the notice, we’ve changed the logic to use the empty() function since it doesn’t throw a notice if the value is not set. I’ve added a note of your contribution to the changelog.

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined index "display_player_excerpt"’ is closed to new replies.