• Resolved ezweb

    (@ezweb)


    [11-Mar-2021 10:30:20 UTC] PHP Parse error: syntax error, unexpected token “\” in /home/user/public_html/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 953

    Line 953:

    $trunacate_words = new / FeedThemSocialTruncateHTML();

    I removed the / and it’s working now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author slickremix

    (@slickremix)

    Hey @ezweb
    Well have to take a look into this. Just curious what version of PHP are you using?

    Thanks,
    The SlickRemix Team

    Same error. PHP version 8.0

    Thread Starter ezweb

    (@ezweb)

    I was using 7.4.

    Plugin Author slickremix

    (@slickremix)

    This has been fixed in version 2.9.5. It was not removing the \ that fixes it but removing the whitespace after the \. Apparently PHP8 does not like whitespace after the bracket new \ classname, it needs to be like new \classname. Thanks for everyones input and patience ??

    Spencer

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Syntax error in 2.9.4’ is closed to new replies.