• Resolved ramicz

    (@ramicz)


    Hello there, I got this error

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /plugins/widget-google-reviews/grw-reviews.php on line 23

    So I checked the code and noticed that you guys should add this \ for each 'there. Can you fix it and release new update? Thanks.

    My fix

    
    $reviews_where = ' AND hide = \'\'';
    
    if (strlen($reviews_lang) > 0) {
    
        $reviews_where = $reviews_where . ' AND language = \'' . $reviews_lang . '\'';
    
    }
    
Viewing 1 replies (of 1 total)
  • Plugin Author richplugins

    (@richplugins)

    Hi @ramicz,

    Sorry, it’s really strange, because the current version of the plugin contains exactly the same code:

    We never had such a problem, and if it was, then several hundred thousand users would flood us with similar topics. Maybe someone modified your local copy of the plugin, please check this case (by the way, it may be because you have line 23 in error, and in the source it is line 12).

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘[ERROR] T_CONSTANT_ENCAPSED_STRING’ is closed to new replies.