Title: Limit Categories Plugin
Last modified: August 18, 2016

---

# Limit Categories Plugin

 *  Resolved [BigJohn](https://wordpress.org/support/users/bigjohn/)
 * (@bigjohn)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/limit-categories-plugin/)
 * After the plugin is installed, while trying to upload an image to the site, the
   following error is displayed in the upload box:
 *  Warning: array_intersect(): Argument #1 is not an array in /home/hunterju/public_html/
   wp-content/plugins/limitcats.php on line 267
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/hunterju/public_html/wp-content/plugins/limitcats.php:267) in /home/
   hunterju/public_html/wp-admin/inline-uploading.php on line 101
 * Any thoughts?
 * Using WordPress 2.0.1 and latest version of limicats.

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/limit-categories-plugin/#post-339175)
 * I’d start here:
    [http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 *  Thread Starter [BigJohn](https://wordpress.org/support/users/bigjohn/)
 * (@bigjohn)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/limit-categories-plugin/#post-339261)
 * Thanks Moshu:
 * There is no problem in using the upload function when limitcat is not activated.
   The message comes when the plugin is activated.
 * When the plugin is activated, the admin who has complete access to all of the
   categories tries an upload, it works fine.
 * But when an author with limited category access tries an upload, the message 
   is
 * Warning: array_intersect(): Argument #1 is not an array in /home/hunterju/public_html/
   wp-content/plugins/limitcats.php on line 267
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/hunterju/public_html/wp-content/plugins/limitcats.php:267) in /home/
   hunterju/public_html/wp-admin/inline-uploading.php on line 101
 * That would suggest that it is a plugin problem.
 *  Thread Starter [BigJohn](https://wordpress.org/support/users/bigjohn/)
 * (@bigjohn)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/limit-categories-plugin/#post-339316)
 * I have worked on this problem for the last few hours. The results all point to
   a plugin problem. If I give my user access to all of the categories, he can upload
   images.
 * If I limit him to a single category, I get a similar error as above.
 * Warning: array_intersect(): Argument #1 is not an array in /home/hunterju/public_html/
   wp-content/plugins/limitcats.php on line 264
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/hunterju/public_html/wp-content/plugins/limitcats.php:264) in /home/
   hunterju/public_html/wp-admin/inline-uploading.php on line 101
 * Any other thoughts?
 * Thanks
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/limit-categories-plugin/#post-339317)
 * No thoughts, but I posted the problem in the plugin’s support forum on Owen’s
   site.
 *  Thread Starter [BigJohn](https://wordpress.org/support/users/bigjohn/)
 * (@bigjohn)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/limit-categories-plugin/#post-339334)
 * Thanks. I will go there.
 * John
 *  Thread Starter [BigJohn](https://wordpress.org/support/users/bigjohn/)
 * (@bigjohn)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/limit-categories-plugin/#post-339354)
 * Owen just released version 1.5.2 of the limitcats plugin which corrects the above
   situation.
 * Great Response Time.
 * Thanks Moshu and a Big Thanks to Owen.

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

The topic ‘Limit Categories Plugin’ is closed to new replies.

## Tags

 * [limitcats](https://wordpress.org/support/topic-tag/limitcats/)

 * 6 replies
 * 2 participants
 * Last reply from: [BigJohn](https://wordpress.org/support/users/bigjohn/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/limit-categories-plugin/#post-339354)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
