Title: Warning: Array to string conversion in class-wp-optimize-minify-front-end.php
Last modified: June 20, 2024

---

# Warning: Array to string conversion in class-wp-optimize-minify-front-end.php

 *  Resolved [sasquatchms](https://wordpress.org/support/users/sasquatchms/)
 * (@sasquatchms)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/warning-array-to-string-conversion-in-class-wp-optimize-minify-front-end-php/)
 * Hello,
 * I updated to the most recent version of the plugin. The following day, a message
   is appearing on the top of the page
 * **Warning: Array to string conversion in …/wp-content/plugins/wp-optimize/minify/
   class-wp-optimize-minify-front-end.php on line 1309**
 * Hoping someone can help point me in the right direction.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [wpmansour](https://wordpress.org/support/users/wpmansour/)
 * (@wpmansour)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/warning-array-to-string-conversion-in-class-wp-optimize-minify-front-end-php/#post-17840456)
 * Hello,
 * Thank you for reaching out. The warning message you are seeing is due to some
   conflict with the WP-Optimize plugin. Here are the steps you can take to resolve
   it:
    1. **Deactivate and Reactivate:**
    2.  - Try deactivating the WP-Optimize plugin and then reactivating it. This can
          sometimes resolve minor issues.
        - Go to Plugins > Installed Plugins, find WP-Optimize, click “Deactivate,” 
          and then click “Activate.”
    3. **Reinstall the Plugin:**
    4.  - If reactivating doesn’t work, try reinstalling the plugin.
        - Go to Plugins > Installed Plugins, find WP-Optimize, click “Deactivate,” 
          then “Delete.”
        - After that, go to Plugins > Add New, search for WP-Optimize, and click “Install
          Now” and then “Activate.”
    5. **Site Health Report:**
    6.  - If none of the above solutions work, please provide us with your Site Health
          report for further investigation. You can do this by following these steps:
           a. Go to your WordPress dashboard.
           b. Navigate to Tools > Site Health.
           c. Click on the “Info” tab.
           d. Click on “Copy site info to clipboard.”
           e. Paste the copied information into a pastecode (e.g., [Pastecode](https://pastecode.io/)).
           f. Share the Pastecode URL with us.
 * We’re here to help and ensure you have a smooth experience with WP-Optimize.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Warning: Array to string conversion in class-wp-optimize-minify-front-
end.php’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wpmansour](https://wordpress.org/support/users/wpmansour/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/warning-array-to-string-conversion-in-class-wp-optimize-minify-front-end-php/#post-17840456)
 * Status: resolved