• Resolved daniloalfaro

    (@eyesbeyond)


    When I try to activate the plugin I get this error:

    Parse error: syntax error, unexpected T_STRING in /home/..../plugins/featured-image-caption/featured-image-caption.php on line 46

    This is what is on line 46 of featured-image-caption.php:

    $bootstrap = new \cconover\FeaturedImageCaption\Bootstrap();

    • This topic was modified 7 years, 11 months ago by daniloalfaro.
    • This topic was modified 7 years, 11 months ago by daniloalfaro.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Christiaan Conover

    (@cconover)

    What version of PHP are you running?

    Thread Starter daniloalfaro

    (@eyesbeyond)

    I (that is to say my web host) is running 5

    Plugin Author Christiaan Conover

    (@cconover)

    Do you know more specifically which version? 5.3, 5.6, etc.?

    The plugin requires PHP 5.4 or later, so if you’re on PHP 5.3 it will not work. The plugin does have a sanity check for the PHP version in use, but I’ll verify that it works properly, because it sounds like you may be on a version that isn’t compatible. I will check that and let you know, and if it’s not working properly, I will update it and push a new version.

    Thread Starter daniloalfaro

    (@eyesbeyond)

    Oh thanks. Yeah I drilled down a bit and found that I’m on 5.2 with option to upgrade to 5.3. Once I’m at 5.3 perhaps I can go to 5.4

    Thread Starter daniloalfaro

    (@eyesbeyond)

    Upgrading to 5.3 seems to have fixed it (or maybe you updated the plugin as well). Anyway thank you my problem seems to be solved.

    Plugin Author Christiaan Conover

    (@cconover)

    Ok, thanks for letting me know. I’ll look into why the PHP version check didn’t work as expected for you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error on line 46’ is closed to new replies.