Support » Plugin: Cloudflare » Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_ST

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author jwineman

    (@jwineman)

    Hi Scott,

    Which version of the plugin are you using?

    Thanks,
    John

    Version 1.3.23.

    However, I just updated to Version 1.3.24 and it still gives me the parse error.

    I have no other plugins activated. I am using default installation of the Twenty Sixteen theme.

    Plugin Author jwineman

    (@jwineman)

    What line is the error on in 1.3.24? Its not 36 right because line 36 in 1.3.24 is the namespace.

    use CloudFlare\IpRewrite;

    yes. it is use CloudFlare\IpRewrite;

    http://scott.offord.me/fXDY (screenshot)

    and this is what is contained in that file: http://scott.offord.me/fXF4 (txt)

    Interestingly enough, I did have this plugin enabled in the past. Here are the DB table items:

    http://scott.offord.me/fXiH

    I deleted all the plugin files as well as deleted those entries from my DB and the error still occurs when I try to activate the plugin.

    Plugin Author jwineman

    (@jwineman)

    What version of PHP are you running Scott?

    PHP Version 5.2.17

    Ah ha!

    I just updated to PHP Version 5.3.24 and I’m able to activate the Plugin now.

    Sorry for the hassle, but hopefully this support thread will help others if they find it.

    Scott O.

    Plugin Author jwineman

    (@jwineman)

    No worries Scott – glad you were able to resolve your issue!

    Solved my problem perfectly! Thank you.Just had to update the version of PHP in my Cpanel

    good morning

    I have a problem with my web paguina since I did not dega my login to the wordpress administrator nor to the paguina that there is an error which is
    Parse error: syntax error, unexpected ‘?’ In; And I do not know how I can fix it since I can not login to the administrator

    I can collaborate thank you very much

    Plugin Author thellimist

    (@furkan811)

    @yohannes1,

    What version of PHP are you using?

    I am new hear and would highly appreciate your help please. I just had a user name and password to access the (www.simienmountainsguide.com/wp-admin). I installed a theme (twentyseventeen) on wordpress and did something wrong inside the theme: Appearance-Editor-Functions (area) and now I can not acces the dashboard/ can not login anymore.

    When I tried to login comes:

    Parse error: syntax error, unexpected ‘,’ in /home/dwarfcrasher/simienmountainsguide.com/wp-content/themes/twentyseventeen/functions.php on line 165

    Plugin Author jwineman

    (@jwineman)

    Hi @yohannes1,

    The error is with the twentyseventeen theme, not the cloudflare plugin. You probably added an extra comma to line 165 on functions.php for that theme.

    Thanks,
    John

    Moderator bdbrown

    (@bdbrown)

    Sidenote to @yohannes1

    1. Please start your own topic in the appropriate forum.

    2. Do not create multiple posts on the same topic. Your other posts have been archived. Start a new topic.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_ST’ is closed to new replies.