• Resolved sankari

    (@sankari)


    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: @scribelle

    Hello @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 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

    Hi @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
    From: @scribelle

    Hi @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
    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

    (@shubhanshukandani)

    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. We will be happy to assist you further.

    Thank you!

    Thread Starter sankari

    (@sankari)

    Hi @shubhanshukandani ,

    I reopened this thread since I didn’t find information on the resolution of this issue.

    The plugin test site mentioned by @scribelle says that the PHP warning and notice still exists in the latest release 5.7.52.

    Please advise. Thank you.

    Hi @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?

    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

    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!

    Hi @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

    (@sankari)

    Hi @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 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

    @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 plugin.

    Thanks.

    Hi @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. We will be happy to assist you further.

    Thank you!

    Thread Starter sankari

    (@sankari)

    Hello @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.