• Resolved straker

    (@straker)


    Hi, I just upgraded WPslimstat to 3.6.6, and cannot activate it as it returns a fatal error.

    The other message that displays is:

    Parse error: syntax error, unexpected T_START_HEREDOC in /home1/straker/public_html/mydomain/wp-content/plugins/wp-slimstat/admin/wp-slimstat-admin.php on line 11

    Nothing else has changed on my site and the plugin was running fine on the previous version.

    Any help would be appreciated.

    Thanks in advance,

    https://ww.wp.xz.cn/plugins/wp-slimstat/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The error shows up on their own web site. This program has such a good reutation, I am sure they will release an update soon.

    Temporary fix: comment the $admin_notice;

    In file:
    /wp-content/plugins/wp-slimstat/admin/wp-slimstat-admin.php on line 11 change the
    protected static $admin_notice = <<<EOF

    to

    protected static $admin_notice = '';
    /*protected static $admin_notice = <<<EOF

    and on line ca. 56
    EOF;
    to
    EOF;*/

    Plugin Contributor Jason Crouse

    (@coolmann)

    An update has just been released. Sorry for the inconvenience. The error is triggered if you’re using PHP 5.2.x. Our box has already 5.4, so we didn’t get the warning 🙁

    Thread Starter straker

    (@straker)

    Thanks for the update (and quick fix!). All good now.
    FYI, I am using PHP 5.4.29.

    Plugin Contributor Jason Crouse

    (@coolmann)

    Great!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error on activate with 3.6.6’ is closed to new replies.