• Resolved marcodor

    (@marcodor)


    Php7 is more syntax restrictive and throws 2 warnings on

    function frontend_sgr_script() {
    if (did_action(“login_init”) > 0 || function_exists(is_account_page) || function_exists(bp_get_signup_page) || (is_single() && comments_open()) && !is_user_logged_in()) {

    that is_account_page and bp_get_signup_page are not defined.

    These arguments should be quoted as strings, like:

    function frontend_sgr_script() {
    if (did_action(“login_init”) > 0 || function_exists(‘is_account_page’) || function_exists(‘bp_get_signup_page’) || (is_single() && comments_open()) && !is_user_logged_in()) {

Viewing 1 replies (of 1 total)
  • Plugin Author Minor

    (@minor)

    Hi @marcodor,

    thank you for your notice. This bug was reported by Tim Bkbasic a month ago and has been fixed on development version.

    I just published a new version 2.3 and there it’s already fixed.

    Have a nice day!

    Minor

Viewing 1 replies (of 1 total)
  • The topic ‘V2.2 Plugin warnings on php7 and wp4.8’ is closed to new replies.