Support » Plugins » Limit Categories Plugin

  • Resolved BigJohn

    (@bigjohn)


    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)
  • 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.

    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

    No thoughts, but I posted the problem in the plugin’s support forum on Owen’s site.

    Thanks. I will go there.

    John

    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.