Title: php errors
Last modified: February 19, 2020

---

# php errors

 *  Resolved [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
 * (@davidandrewsmithjr)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/)
 * Hi,
    When I hit save under the settings tab:
 * Warning: array_search() expects parameter 2 to be array, null given in /home/
   customer/www/directknowledge.com/public_html/wp-content/plugins/wp-asset-clean-
   up/classes/Update.php on line 680
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/customer/www/directknowledge.com/public_html/wp-content/plugins/wp-asset-
   clean-up/classes/Update.php:680) in /home/customer/www/directknowledge.com/public_html/
   wp-includes/pluggable.php on line 1265
 * The settings seem to save and the more settings I seem to save the fewer error
   messages I get. “But the headers already sent by” seems to be easy for you to
   fix.
 * I am hopeful, you can fix this soon, before I purchase the pro version.
 * My site already has 100% GTMetrix score, but the load time is not optimized yet,
   so I am a ready buyer.
 *  The headers already sent message is pronely from including php files into other
   php files and one of the files has space after the enclosing ?>, I believe that
   most php files should not end in ?> ??
 * Please help.

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

 *  Thread Starter [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
 * (@davidandrewsmithjr)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12463320)
 * Hi, moderator,
 * How can I edit or delete the post above. It contains server information about
   the installation of WordPress and my domain name which I include thinking this
   post is private.
 * Please help me moderator. I know that this post is publicly accessible because
   Google Alerts just sent me an alert about this page that has my domain name pin
   it.
 * Could the path(s) above be edited?
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12464394)
 * I’m sorry, but that is only done in extreme cases. There is nothing at all sensitive
   there and there is no reason to edit anything in that post.
 * [https://wordpress.org/support/forum-user-guide/faq/#will-you-delete-my-post-or-my-link-within-my-post](https://wordpress.org/support/forum-user-guide/faq/#will-you-delete-my-post-or-my-link-within-my-post)
 * Search engine hits are _never_ considered extreme. The post will not be edited
   or deleted.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12464486)
 * [@jdembowski](https://wordpress.org/support/users/jdembowski/) I believe the 
   only “sensitive” part [@davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
   was referring is the full path to the Update.php file. Perhaps you can mask everything
   before _/wp-content/plugins/wp-asset-clean-up/classes/Update.php_?
 * As for the issue you’re having [@davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/),
   please download the development version of Asset CleanUp that has the patch which
   fixes this issue. You shouldn’t get the PHP warning anymore. Here’s how to do
   it: [https://assetcleanup.com/docs/how-to-get-the-development-version-of-asset-cleanup/](https://assetcleanup.com/docs/how-to-get-the-development-version-of-asset-cleanup/)
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12464491)
 * Yes. I know. And that’s not sensitive as I already wrote. The post will not be
   edited.
 *  Thread Starter [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
 * (@davidandrewsmithjr)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12464607)
    -  This reply was modified 6 years, 3 months ago by [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/).
    -  This reply was modified 6 years, 3 months ago by [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/).
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12464657)
 * [@jdembowski](https://wordpress.org/support/users/jdembowski/) I understand you
   can’t just delete the post and I understand. Perhaps you can make an exception
   and just strip just the domain name and ‘forgive’ [@davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
   in this particular instance as he wasn’t aware when he just copied and pasted
   the PHP error that his website’s domain was also listed there. Some people care
   a lot about their privacy and I understand his point of view. If I will post 
   by mistake something online I wish to keep private, I will immediately want to
   have it removed. Just think about it, please, or you could consider passing this
   topic to another moderator who might be able to change the post.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12464661)
 * [@gabelivan](https://wordpress.org/support/users/gabelivan/) No and stop asking.
   I’ve been clear on this and you are not making a case. The post will not be edited.
 * Come to the Slack #forums channel if you wish to discuss it.
 *  Thread Starter [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
 * (@davidandrewsmithjr)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12464673)
    -  This reply was modified 6 years, 3 months ago by [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/).
 *  Thread Starter [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
 * (@davidandrewsmithjr)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12464683)
    -  This reply was modified 6 years, 3 months ago by [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/).
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12464904)
 * [@davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
   Aside from this privacy inconvenience, I’m keen to find out if the latest version(
   v_1.3.5.7_) is working fine for you now! Let me know at your earliest convenience!
 *  Thread Starter [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
 * (@davidandrewsmithjr)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12467672)
 * Yes, it is working great. Thank you, Gabe you were very helpful.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12467819)
 * [@davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
   I’m glad to hear that! If you find the plugin useful, it would be great if you
   can spare a minute to leave a review about it here: [https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/#new-post](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/#new-post)

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

The topic ‘php errors’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/php-errors-182/#post-12467819)
 * Status: resolved