PHP Warning: Array to string conversion, PHP Notice: Function wp_enqueue_sc…
-
Hi,
I’m creating this topic for the issues reported by @scribelle here, so the Icegram developers can look into this.
January 7, 2025 at 10:56 am
From: @scribelleHello @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:[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.ww.wp.xz.cn/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 6114I 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: @anupamkhatuaHi @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 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
Hi @anupamkhatua
From: @scribelle
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
That is the reason why I’m still worried.Icegram Express 5.7.48
The topic ‘PHP Warning: Array to string conversion, PHP Notice: Function wp_enqueue_sc…’ is closed to new replies.
