Support » Plugin: BP Profile Search » php 7

  • Resolved Matt2012

    (@matt2012)


    This could be a false positive but might still help to tweak the files so it snot caught by the parser.

    FILE: /wp-content/plugins/bp-profile-search/bps-xprofile.php
    ————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————————-
    417 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
    ————————————————————————————————————————-

    FILE: /wp-content/plugins/bp-profile-search/bps-directory.php
    ————————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————————
    62 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
    ————————————————————————————————————————

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Matt2012,

    Thanks for your report. Yes, that’s a false positive, probably triggered by the lack of a few optional curly braces, but I’ll add the missing braces to pass the test.

    Plugin Author Andrea Tarantini

    (@dontdream)

    As promised, version 4.7.7 fixes the two false positives. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php 7’ is closed to new replies.