NextScripts: Social Networks Auto-Poster
[resolved] Error after update (5 posts)

  1. NicotineLL
    Posted 3 years ago #

    I can't activate the plugin after the update

    Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /home/lavina/public_html/w3spine/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/NextScripts_SNAP.php on line 410


  2. fpierin
    Posted 3 years ago #

    As a workaround you can edit social-networks-auto-poster-facebook-twitter-g/NextScripts_SNAP.php file:

    find <? if(!$nxs_isWPMU) { ?>

    and change to <?php if(!$nxs_isWPMU) { ?>

  3. NicotineLL
    Posted 3 years ago #

    Yes I did saw that, but I wasn't able to post here earlier. It is really a wonder how one can make such a nice plugin and does simple errors like this ;] Thanks anyway!

  4. stitchkingdom
    Posted 3 years ago #

    it's not an error per se, it's a php setting which apparently they have enabled in development but not everyone else does. it's better practice to not use the shorthand, but..

  5. NextScripts
    Plugin Author

    Posted 3 years ago #

    Most servers are configured with short_open_tag set to "On". PHP 5.4 already has <?= always enabled. There are some talks about depreciating this option and and making it always "On" in PHP 6.

    WordPress itself is made using full tags, so we should comply. This is a bug, it will be fixed in 2.3.2

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextScripts: Social Networks Auto-Poster
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.