Running my xampp

Running my xampp with php7 and got this error upon activation.

Parse error: syntax error, unexpected “new” (T_NEW) in\wp-contentpluginslogout-redirectlogout-redirect.php on line 203

on line 203

$logout_redirect =& new Logout_Redirect();

should be: (remove &:wink:

$logout_redirect =new Logout_Redirect();

Had to change ` to ” as it won’t post the code


  • Adam Czajczyk
    • Support Gorilla

    Hello Dennis,

    I hope you’re well today and thank you for your question!

    How the hell the title of this thread got changed to the first words of my post is above my understanding!

    If there was no title given originally the title would be created out of the first words of you post. It may have also been edited by one of the staff members if the title was completely not relevant to the post but I’m aware of this as I didn’t edit it personally and I don’t know what title did you put there :slight_smile:

    As for the issue. Thank you for reporting it. The PHP 7 indeed doesn’t allow such a construction: “The result of the “new” statement can no longer be assigned to a variable by reference”.

    This is a plugin incompatibility with PHP 7 and I’m really grateful that you shared that finding with me. I have already reported this to the developers and they should be able to fix that soon.

    Best regards,


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.