Title: plugin causing fatal error on wordpress
Last modified: July 3, 2022

---

# plugin causing fatal error on wordpress

 *  Resolved [gguldens](https://wordpress.org/support/users/gguldens/)
 * (@gguldens)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-error-on-wordpress/)
 * From the WordPress email notifying me of the problem:
 *     ```
       When seeking help with this issue, you may be asked for some of the following information:
       WordPress version 6.0
       Active theme: Agency Pro (version 4.3.0)
       Current plugin: NextScripts: Social Networks Auto-Poster (version 4.3.26)
       PHP version 8.0.18
   
       Error Details
       =============
       An error of type E_ERROR was caused in line 424 of the file /var/www/goldysbrand.com/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_ntlist.php. Error message: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /var/www/goldysbrand.com/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_ntlist.php:424
       Stack trace:
       #0 /var/www/goldysbrand.com/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_ntlist.php(424): date('F j, Y, g:i a', 'i')
       #1 /var/www/goldysbrand.com/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_snap.php(1040): nxs_snapClassNT->showEditNTLine('', Array, Object(WP_Post))
       #2 /var/www/goldysbrand.com/wp-admin/includes/template.php(1401): nxs_SNAP->NS_SNAP_AddPostMetaTags(Object(WP_Post), Array)
       #3 /var/www/goldysbrand.com/wp-admin/edit-form-advanced.php(711): do_meta_boxes(Object(WP_Screen), 'advanced', Object(WP_Post))
       #4 /var/www/goldysbrand.com/wp-admin/post.php(206): require('/var/www/goldys...')
       #5 {main}
         thrown
       ```
   

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

 *  [CGS Web Designs](https://wordpress.org/support/users/cgscomputers/)
 * (@cgscomputers)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-error-on-wordpress/#post-15828512)
 * The developer hasn’t updated the plugin to be compatible with PHP 8. That’s the
   issue you’re seeing.
 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-error-on-wordpress/#post-15830098)
 * Please update your plugin to the latest version 4.3.27. This problem has been
   fixed there.
 *  [karpathir](https://wordpress.org/support/users/karpathir/)
 * (@karpathir)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-error-on-wordpress/#post-15830735)
 * 4.3.27 version and fatal error when publishing post:
 * Plugin: NextScripts: Social Networks Auto-Poster (4.3.27 verzió)
    PHP verzió:
   7.4.29
 * ===============
    A(z) /home/www/wp-content/plugins/social-networks-auto-poster-
   facebook-twitter-g/inc-cl/tw.api.php fájl 63 sora egy E_ERROR típusú hibát okoz.
   Hibaüzenet: Uncaught Error: Cannot use assign-op operators with string offsets
   in /home/www/clients/client3632/web8050/web/wp-content/plugins/social-networks-
   auto-poster-facebook-twitter-g/inc-cl/tw.api.php:63 Stack trace: #0 /home/www/
   wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_class_ntlist.
   php(512): nxs_class_SNAP_TW->doPostToNT(Array, Array) #1 /home/www/wp-content/
   plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_engine.
   php(64): nxs_snapClassNT->publishWP(0, 195895) #2 /home/www/wp-content/plugins/
   social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_wp.php(463):
   nxs_snapPublishTo(NULL) #3 /home/web/wp-includes/class-wp-hook.php(307): nxs_snapLogPublishTo(‘
   publish’, ‘auto-draft’, Object(WP_Post)) #4 /home/www/web/wp-includes/class-wp-
   hook.php(331): WP_Hook->apply_filters(NULL, Array)
    -  This reply was modified 3 years, 10 months ago by [karpathir](https://wordpress.org/support/users/karpathir/).
 *  [DFC005](https://wordpress.org/support/users/dfc005/)
 * (@dfc005)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-error-on-wordpress/#post-15830995)
 * I’m getting this same error appearing after updating to the latest version (Version
   4.3.27) of the plugin today.
 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-error-on-wordpress/#post-15831326)
 * Please update your plugin to the latest version 4.3.28. This problem has been
   fixed there.

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

The topic ‘plugin causing fatal error on wordpress’ is closed to new replies.

 * ![](https://ps.w.org/social-networks-auto-poster-facebook-twitter-g/assets/icon-
   256x256.png?rev=1106267)
 * [NextScripts: Social Networks Auto-Poster](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/)
 * [Active Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/plugin-causing-fatal-error-on-wordpress/#post-15831326)
 * Status: resolved