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