Title: Array to String error in admin
Last modified: February 2, 2024

---

# Array to String error in admin

 *  Resolved [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/array-to-string-error-in-admin/)
 * I am seeing a PHP error in the admin pages that reports last Tweet status.
 * This is coming from wpt-functions.php, the wpt_show_last_tweet() function that
   needs the following:
 *     ```wp-block-code
       $notice = esc_html( $log[1][‘message’] );
       ```
   

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

 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/array-to-string-error-in-admin/#post-17437360)
 * Thanks for reporting! If you can open that [as an issue on Github](https://github.com/joedolson/wp-to-twitter/issues),
   I’d greatly appreciate it.
 *  Thread Starter [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/array-to-string-error-in-admin/#post-17449386)
 * Thanks [@joedolson](https://wordpress.org/support/users/joedolson/), it looks
   like the code is updated already in you GitHub repository, someone else logged
   the same issue:
   [https://github.com/joedolson/wp-to-twitter/issues/9](https://github.com/joedolson/wp-to-twitter/issues/9)
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/array-to-string-error-in-admin/#post-17449388)
 * Oh, thanks for telling me! I just assumed that it was the same person. I’ll add
   that to the props.

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

The topic ‘Array to String error in admin’ is closed to new replies.

 * ![](https://ps.w.org/wp-to-twitter/assets/icon-256x256.png?rev=2997308)
 * [XPoster - Share to Bluesky and Mastodon](https://wordpress.org/plugins/wp-to-twitter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-to-twitter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-to-twitter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-to-twitter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-to-twitter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-to-twitter/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/array-to-string-error-in-admin/#post-17449388)
 * Status: resolved