Title: PHP Warning: Array to string conversion, PHP Notice: Function wp_enqueue_sc&#8230;
Last modified: January 17, 2025

---

# PHP Warning: Array to string conversion, PHP Notice: Function wp_enqueue_sc…

 *  Resolved [sankari](https://wordpress.org/support/users/sankari/)
 * (@sankari)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-php-notice-function-wp_enqueue_sc/)
 * Hi,
 * I’m creating this topic for the issues reported by [@scribelle](https://wordpress.org/support/users/scribelle/)
   [here](https://wordpress.org/support/topic/php-warning-undefined-array-key-list_name-with-unsubscibe-email-workflow/),
   so the Icegram developers can look into this.
 * > January 7, 2025 at 10:56 am
   > From: [@scribelle](https://wordpress.org/support/users/scribelle/)
   > Hello [@anupamkhatua](https://wordpress.org/support/users/anupamkhatua/)
   > Same
   > worry for me: for one year, all your versions have a warning when testing, 
   > as well as the last one (5.7.47): 2 PHP warnings ans 1 PHP notice.PHP Error
   > Log for exemple:
   >     ```wp-block-code
   >     [02-Jan-2025 09:40:16 UTC] PHP Warning:  Array to string conversion in /wp-includes/formatting.php on line 1096
   >     [02-Jan-2025 09:40:18 UTC] PHP Warning:  Array to string conversion in /wp-includes/formatting.php on line 1096
   >     [02-Jan-2025 09:40:37 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6114
   >     ```
   > 
   > I like very much your plugin, but I dare not update it, nor update WP last 
   > version then. What can you do about it? Thank you very much.
 * > January 13, 2025 at 1:54 pm
   > From: [@anupamkhatua](https://wordpress.org/support/users/anupamkhatua/)
   > Hi [@scribelle](https://wordpress.org/support/users/scribelle/),
   > Thank you for reaching out to us!
   > I would like to clarify that the “wp-editor” is not enqueued by the Express
   > plugin, so the error is not originating from our end. Additionally, the warning
   > in the error message you provided does not reference the Express plugin. Therefore,
   > we cannot determine if the error is related to the Express plugin.
   > To investigate further, could you please install the** [Health Check](https://wordpress.org/plugins/health-check/)**
   > plugin? Activate only the Express plugin and check if the error persists. Once
   > you’ve done that, please share the report with us for further troubleshooting.
   > We look forward to your response!
 * > January 16, 2025 3:03 pm
   > From: [@scribelle](https://wordpress.org/support/users/scribelle/)
   >  Hi [@anupamkhatua](https://wordpress.org/support/users/anupamkhatua/)
   > First
   > of all, thank you for your answer three days ago.For information, the error
   > warnings are indicated by a plugin test that I use for ages and that is great:
   > Plugintests.Whether for version 5.7.47 or version 5.7.48, nothing changed and
   > the same warnings are still there. Look here:[https://plugintests.com/plugins/wporg/email-subscribers/latest](https://plugintests.com/plugins/wporg/email-subscribers/latest)
   > That is the reason why I’m still worried.
 * Icegram Express 5.7.48

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

 *  Plugin Contributor [Shubhanshu Kandani](https://wordpress.org/support/users/shubhanshukandani/)
 * (@shubhanshukandani)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-php-notice-function-wp_enqueue_sc/#post-18315703)
 * Hi @sankari ,
 * Hope you’re doing well.
   Since the inquiry has been resolved, I’m closing this
   thread for now. If you have any further questions or issues related to the plugin,
   feel free to reopen it.
 * You can open a new thread from [**here**](https://wordpress.org/support/plugin/email-subscribers/#new-topic-0).
   We will be happy to assist you further.
 * Thank you!
 *  Thread Starter [sankari](https://wordpress.org/support/users/sankari/)
 * (@sankari)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-php-notice-function-wp_enqueue_sc/#post-18321265)
 * Hi [@shubhanshukandani](https://wordpress.org/support/users/shubhanshukandani/),
 * I reopened this thread since I didn’t find information on the resolution of this
   issue.
 * The plugin test site mentioned by [@scribelle](https://wordpress.org/support/users/scribelle/)
   says that the PHP warning and notice still exists in the latest release 5.7.52.
 * Please advise. Thank you.
 *  [Anupam Khatua](https://wordpress.org/support/users/anupamkhatua/)
 * (@anupamkhatua)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-php-notice-function-wp_enqueue_sc/#post-18347624)
 * Hi [@sankari](https://wordpress.org/support/users/sankari/),
 * I attempted to replicate the issue on our end, but it doesn’t seem to be caused
   by our plugin.
 * I suggest that you update the plugin to the latest version, 5.7.54. After completing
   the update, please check if the warning persists. If it does, the issue might
   be related to a conflict between the Express plugin and another plugin or theme.
 * Could you assist us in troubleshooting by installing and activating the ‘[**Health Check & Troubleshooting’ plugin**](https://wordpress.org/plugins/health-check/)?
 * It is a plugin maintained by the WordPress community in order to troubleshoot
   common configuration errors and known issues. It temporarily disables all plugins,
   and a default theme is used, but only for your use until you disable it or log
   out.
 * Please follow the below steps in order to check this:
 * 1. Install and activate the above plugin.
 * 2. Once you activate the plugin, you can click on the Troubleshoot link
 * ![5d8df9d33d2c257361caa30b%2F60e3070575984e588d5a00c7%2F1625585042786_image.png?
   alt=media&token=39f96dd1-e7d1-48d2-9588-10be12eec590](https://i0.wp.com/firebasestorage.
   googleapis.com/v0/b/hndesk-prod.appspot.com/o/5d8df9d33d2c257361caa30b%2F60e3070575984e588d5a00c7%
   2F1625585042786_image.png?ssl=1)
 * 2. After this, the troubleshooting mode will be enabled and all the plugins will
   be disabled. You can then enable the Icegram Express plugin as below
 * 3. Once Icegram Express is enabled, you can go to the plugin screen and see if
   you are still getting the error.
 * 4. If you are not getting the error, it means the issue is occurring due to some
   conflict. In this case, you can enable other plugins one by one and see which
   plugin is causing this error.
 * Let us know the update. Happy to support you!
 *  [Anupam Khatua](https://wordpress.org/support/users/anupamkhatua/)
 * (@anupamkhatua)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-php-notice-function-wp_enqueue_sc/#post-18357305)
 * Hi [@sankari](https://wordpress.org/support/users/sankari/),
   Hope you’re doing
   great.
 * I wanted to check in with you regarding the inquiry you had the other day. Was
   it resolved? Do you need any additional help? I’d be happy to assist you in any
   case.
 * Thank you!
   Have a great day ahead.
 *  Thread Starter [sankari](https://wordpress.org/support/users/sankari/)
 * (@sankari)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-php-notice-function-wp_enqueue_sc/#post-18357568)
 * Hi [@anupamkhatua](https://wordpress.org/support/users/anupamkhatua/) ,
 * I’m doing fine, thank you. Hope you too.
 * And I’m sorry that you didn’t read from me before. There was no notification 
   about your message of last week.
 * Thank you for trying to replicate the issue. Actually, I had just copied what
   [@scribelle](https://wordpress.org/support/users/scribelle/) found on that plugin
   testing website. I didn’t see those PHP warnings and notices in our installation
   before and, after following your instructions, I don’t see them now, neither 
   with PHP 8.1 nor with 8.2.
 * Perhaps those PHP warnings and notices are false positives resulting from the
   headless browser that is used for testing:
 * > **Does a “failure” mean that the plugin is broken and unusable?**
   > It suggests that there’s something wrong, but it doesn’t always mean that the
   > plugin is broken. Here’s why:
   >  - (…)
   >  - These tests use a headless browser. There are a few plugins that trigger
   >    errors in this browser but that work perfectly fine in a “real” browser.
   >    These false positives are rare.
   >  Source: [https://plugintests.com/#faq](https://plugintests.com/#faq)
 * [@scribelle](https://wordpress.org/support/users/scribelle/) : Could you advise
   if you get those PHP warnings and errors in your WordPress installation after
   upgrading, see Anupam’s instructions above? You can still revert Icegram Express
   to the previous version using the [WP Rollback](https://eb.wordpress.org/plugins/wp-rollback/)
   plugin.
 * Thanks.
 *  [Anupam Khatua](https://wordpress.org/support/users/anupamkhatua/)
 * (@anupamkhatua)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-php-notice-function-wp_enqueue_sc/#post-18374402)
 * Hi [@sankari](https://wordpress.org/support/users/sankari/),
 * Since we haven’t received a response in a while, I’m closing this thread for 
   now. Please feel free to reopen it if you still have any issues or questions 
   related to the plugin.
 * Also if you have any other queries, you can open a new thread from [**here**](https://wordpress.org/support/plugin/email-subscribers/#new-topic-0).
   We will be happy to assist you further.
 * Thank you!
 *  Thread Starter [sankari](https://wordpress.org/support/users/sankari/)
 * (@sankari)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-php-notice-function-wp_enqueue_sc/#post-18374684)
 * Hello [@anupamkhatua](https://wordpress.org/support/users/anupamkhatua/) ,
 * Thanks, I have some other queries and will post them when I’m ready.
 * Thanks for your support always and have a good weekend.

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

The topic ‘PHP Warning: Array to string conversion, PHP Notice: Function wp_enqueue_sc…’
is closed to new replies.

 * ![](https://ps.w.org/email-subscribers/assets/icon-256x256.png?rev=2274172)
 * [Email Subscribers & Newsletters - Email Marketing, Post Notifications & Newsletter Plugin for WordPress](https://wordpress.org/plugins/email-subscribers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-subscribers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-subscribers/)
 * [Active Topics](https://wordpress.org/support/plugin/email-subscribers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-subscribers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-subscribers/reviews/)

## Tags

 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 7 replies
 * 3 participants
 * Last reply from: [sankari](https://wordpress.org/support/users/sankari/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-php-notice-function-wp_enqueue_sc/#post-18374684)
 * Status: resolved