Title: PHP Warnings
Last modified: August 21, 2016

---

# PHP Warnings

 *  Resolved [utilibre](https://wordpress.org/support/users/utilibre/)
 * (@utilibre)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-10/)
 * Has anyone got similar PHP errors like mine below? Not sure what they mean or
   how to fix the,
 * 30-Sep-2013 03:30:23 UTC] PHP Warning: trim() expects parameter 1 to be string,
   array given in /home/…/wp-content/plugins/social-networks-auto-poster-facebook-
   twitter-g/inc-cl/tw.api.php on line 20
 * [30-Sep-2013 03:30:23 UTC] WordPress database error Table ‘SOMEDBNAME.wp_nxs_log’
   doesn’t exist for query INSERT INTO `wp_nxs_log` (`date`,`act`,`msg`,`extInfo`,`
   type`,`nt`) VALUES (‘2013-09-30 03:30:23′,’Posted’,’OK – Message Posted ‘,”,’
   S’,'<span style=\”color:#00FFFF\”>Twitter</span> – ACCOUNTNAME’) made by do_action_ref_array,
   call_user_func_array, check_and_publish_future_post, wp_publish_post, wp_transition_post_status,
   do_action(‘future_to_publish’), call_user_func_array, nxs_snapPublishTo, nxs_doPublishToTW,
   nxs_addToLogN
 * [30-Sep-2013 03:58:58 UTC] WordPress database error Table ‘SOMEDBNAME.wp_nxs_log’
   doesn’t exist for query INSERT INTO `wp_nxs_log` (`date`,`act`,`msg`,`extInfo`,`
   type`,`nt`) VALUES (‘2013-09-30 03:58:58′,’*** ID: 47643, Type: post’,’ Status
   Changed: future_to_publish. Autopost requested.’,”,’BG’,”) made by do_action_ref_array,
   call_user_func_array, check_and_publish_future_post, wp_publish_post, wp_transition_post_status,
   do_action(‘transition_post_status’), call_user_func_array, nxs_snapLogPublishTo,
   nxs_addToLogN
 * [30-Sep-2013 03:58:58 UTC] WordPress database error Table ‘SOMEDBNAME.wp_nxs_log’
   doesn’t exist for query INSERT INTO `wp_nxs_log` (`date`,`act`,`msg`,`extInfo`,`
   type`,`nt`) VALUES (‘2013-09-30 03:58:58’,’Start =- ‘,’——=========#### NEW AUTO-
   POST REQUEST PostID:(47643) Non Human ####=========——‘,”,’BG’,”) made by do_action_ref_array,
   call_user_func_array, check_and_publish_future_post, wp_publish_post, wp_transition_post_status,
   do_action(‘future_to_publish’), call_user_func_array, nxs_snapPublishTo, nxs_addToLogN
 * [30-Sep-2013 03:59:03 UTC] WordPress database error Table ‘SOMEDBNAME.wp_nxs_log’
   doesn’t exist for query INSERT INTO `wp_nxs_log` (`date`,`act`,`msg`,`extInfo`,`
   type`,`nt`) VALUES (‘2013-09-30 03:59:03′,’Posted’,’OK – Message Posted ‘,’ |
   PostID: 47643 – SOME POST TITLE’,’S’,'<span style=\”color:#000080\”>StumbleUpon
   </span> – StumbleUpon’) made by do_action_ref_array, call_user_func_array, check_and_publish_future_post,
   wp_publish_post, wp_transition_post_status, do_action(‘future_to_publish’), call_user_func_array,
   nxs_snapPublishTo, nxs_doPublishToSU, nxs_addToLogN
 * [http://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/](http://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/)

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

 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-10/#post-4176382)
 * Please disable the DEBUG mode in your WordPress or PHP
 *  Thread Starter [utilibre](https://wordpress.org/support/users/utilibre/)
 * (@utilibre)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-10/#post-4176391)
 * Thanks NSM, though its already disabled. I see the errors in the backend (my 
   site’s php error log file in cpanel).
 *  [alphablue](https://wordpress.org/support/users/alphablue/)
 * (@alphablue)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/php-warnings-10/#post-4176484)
 * sorry to ask but i’m having similar error :
    PHP Warning: trim() expects parameter
   1 to be string, array given in /home/…/wp-content/plugins/social-networks-auto-
   poster-facebook-twitter-g/inc-cl/tw.api.php on line 20
 * thanks in advance
 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/php-warnings-10/#post-4176491)
 * “PHP Warning: trim() expects parameter 1 to be string, array given” was fixed
   in the latest version. Please update your plugin.

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

The topic ‘PHP Warnings’ 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/)

## Tags

 * [php warnings](https://wordpress.org/support/topic-tag/php-warnings/)

 * 4 replies
 * 3 participants
 * Last reply from: [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/php-warnings-10/#post-4176491)
 * Status: resolved