• Resolved sherissedw

    (@sherissedw)


    I’m getting this error when I’m trying to download Apple News. I had to undownload it because it broke my site, but when I go to download it again and activate it I get this error.

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_STRING in /home2/faithgla/public_html/wp-content/plugins/publish-to-apple-news/apple-news.php on line 44

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    What PHP version are you running? If you don’t know the answer to this question, please check with your web host.

    Thanks.

    ericamho

    (@ericamho)

    This same exact error is also occurring for me.

    This is the PHP version I am running.
    PHP Version 5.2.17

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    The plugin docs clearly state that PHP 5.3.6 is the minimum supported version. Support for PHP 5.2 in general ended almost six years ago so you should probably ask your web host to upgrade.

    Unfortunately there’s nothing we can do for you.

    Thread Starter sherissedw

    (@sherissedw)

    I am on 5.4.43

    Thread Starter sherissedw

    (@sherissedw)

    I am on 5.4.43.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    That seems unlikely because this is the line of code you’re getting an error on:

    $settings = new Apple_Exporter\Settings;

    That is using PHP namespaces which are supported in PHP 5.3 and up. So either that’s not the right version or your web host is misleading you. Please follow up with them again on this subject.

    Thanks.

    Thread Starter sherissedw

    (@sherissedw)

    What do I have my web host do? I contacted them and showed them the same text and they said that it was something the plugin support needed to fix.

    Plugin Author Bradford Campeau-Laurion

    (@potatomaster)

    Unfortunately we can’t help you here. It’s clear that your web host is running an unsupported version of PHP and we can’t alter the plugin to accommodate that.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal Error When Activating Plugin’ is closed to new replies.