NS stopped after WP update

Forums SNAP – WordPress Plugin Forums NS stopped after WP update

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #558807
    c64girl@gmail.com
    Participant

      I updated my WP to 4.9.5 NS stopped working when i want to make a test post to fb or twitter i get:

      [08-May-2018 10:22:47 UTC] PHP Fatal error: Uncaught Error: Call to undefined function utf8_decode() in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions.php:21
      Stack trace:
      #0 /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions.php(28): nxs_strLen(‘Test Post from …’)
      #1 /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/tw.api.php(38): nsTrnc(‘Test Post from …’, 280)
      #2 /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_ntlist.php(491): nxs_class_SNAP_TW->doPostToNT(Array, Array)
      #3 /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc-cl/tw.php(276): nxs_snapClassNT->publishWP(0, ‘0’)
      #4 /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_ntlist.php(437): nxs_doPublishToTW(‘0’, Array)
      #5 /var/www/skradzione-samo in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions.php on line 21

      #558808
      c64girl@gmail.com
      Participant

        And when i dont post nothing thro NS i get all the time this in debug log:

        Stack trace:
        #0 /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions.php(28): nxs_strLen(‘WordPress/4.9.5…’)
        #1 /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_engine.php(118): nsTrnc(‘WordPress/4.9.5…’, 70)
        #2 /var/www/skradzione-samochody/wp-includes/class-wp-hook.php(286): nxs_checkQuery()
        #3 /var/www/skradzione-samochody/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
        #4 /var/www/skradzione-samochody/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
        #5 /var/www/skradzione-samochody/wp-cron.php(126): do_action_ref_array(‘nxs_querypost_e…’, Array)
        #6 {main}
        thrown in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions.php on line 21

        #558813
        NextScripts.com
        Keymaster

          Please contact your hosting provider. Your PHP is messed up.

          utf8_decode is a standard PHP function http://php.net/manual/en/function.utf8-decode.php

          #558814
          c64girl@gmail.com
          Participant

            How this can be php messed up related ?

            The error is that php 7 dont have “utf8_(en|de)code” it have been removed. So people need to install ‘sudo apt-get install php7.0-xml’

            #558817
            c64girl@gmail.com
            Participant

              But still some errors have been noticed when posting test to twitter:

              [08-May-2018 19:13:08 UTC] PHP Notice:  Undefined index: hideUnchecked in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_snap.php on line 975
              [08-May-2018 19:13:08 UTC] PHP Notice:  Undefined index: hideUnchecked in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_snap.php on line 975
              [08-May-2018 19:13:08 UTC] PHP Notice:  Undefined index: hideUnchecked in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_snap.php on line 994
              [08-May-2018 19:13:08 UTC] PHP Notice:  Undefined index: hideUnchecked in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_snap.php on line 994
              [08-May-2018 19:13:08 UTC] PHP Notice:  Undefined index: hideUnchecked in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_snap.php on line 975
              [08-May-2018 19:13:08 UTC] PHP Notice:  Undefined index: hideUnchecked in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_snap.php on line 979
              [08-May-2018 19:13:20 UTC] PHP Notice:  Undefined index: tagsExclFrmHT in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_adv.php on line 206
              [08-May-2018 19:13:20 UTC] PHP Notice:  Undefined index: tagsExclFrmHT in /var/www/skradzione-samochody/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_adv.php on line 206
            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.