Title: Some PHP Bug
Last modified: March 14, 2021

---

# Some PHP Bug

 *  [metaeditor](https://wordpress.org/support/users/metaeditor/)
 * (@metaeditor)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/some-php-bug/)
 * The Plugin shows a Bug in the Admin Panel under the column
    Exclude from Search
 * Warning: in_array() expects parameter 2 to be array, null given in /usr/www/users/
   meetmypage/wp-content/plugins/ultimate-category-excluder/ultimate-category-excluder.
   php on line 81
 * Additional wish it would be great if we could exclude all children of a Category
   if mother Cat is selected
 * Great Plugin Concept to stay organized
 * System info
    UCE version: 1.1 PHP version: 7.4.16 WordPress version: 5.7 Theme:
   YOOtheme is version 2.4.2 Number of categories is: 46

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

 *  Plugin Author [Marios Alexandrou](https://wordpress.org/support/users/marios-alexandrou/)
 * (@marios-alexandrou)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/some-php-bug/#post-14179099)
 * Thanks. It’s a warning and not a “true” error. I’ll work on eliminating the message,
   but the plugin should work fine even with the message.
 *  Thread Starter [metaeditor](https://wordpress.org/support/users/metaeditor/)
 * (@metaeditor)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/some-php-bug/#post-14206737)
 * Thank you great plugin waiting for the Fix, just found another Warning on the
   front end when searching. Probably some php version Warnings ?
 * With the Relevanssi Search Plugin aktiv
 * Warning: Invalid argument supplied for foreach() in /usr/www/users/meademo/wp-
   content/plugins/ultimate-category-excluder/ultimate-category-excluder.php on 
   line 167
    -  This reply was modified 5 years, 2 months ago by [metaeditor](https://wordpress.org/support/users/metaeditor/).

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

The topic ‘Some PHP Bug’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-category-excluder/assets/icon-256x256.png?rev=1352232)
 * [Ultimate Category Excluder](https://wordpress.org/plugins/ultimate-category-excluder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-category-excluder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-category-excluder/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-category-excluder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-category-excluder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-category-excluder/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [metaeditor](https://wordpress.org/support/users/metaeditor/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/some-php-bug/#post-14206737)