WP Frontpage News
[resolved] Syntax error on line 138 (3 posts)

  1. crankopotamus
    Posted 1 year ago #

    Hi there,

    When I load WP Frontpage News, I get a white screen and the following error in the debug.log:

    [22-Apr-2014 23:41:15] PHP Parse error: syntax error, unexpected T_FUNCTION in /home4/teamhoyt/public_html/wp-content/plugins/wp-frontpage-news/inc/wp-fpn-main.inc.php on line 138

    The server is running PHP 5.4.24. It worked fine on the dev site, which was running PHP 5.3.27.

    Thanks in advance for any help you can offer.


  2. ydubois
    Plugin Author

    Posted 1 year ago #

    Please check you PHP version again. Anonymous functions were introduced in PHP 5.3.0, so I guess you are not running PHP 5.4.x as mentioned...


  3. crankopotamus
    Posted 1 year ago #

    You are absolutely right. Sorry for the false alarm. Bluehost's cPanel stats say I have PHP 5.4, but phpinfo.php says it's 5.2. Thanks for the speedy response.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Frontpage News
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.