Title: Post type plugins not working
Last modified: August 24, 2016

---

# Post type plugins not working

 *  [Juddi22](https://wordpress.org/support/users/juddi22/)
 * (@juddi22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/post-type-plugins-not-working/)
 * Hello,
 * First to say I am an old fan of this plugin! After the new changes that occurred,
   however, I am not sure I understand and I can’t make some of the things work.
 * 1. I read I have to copy/delete the MU file. I did that and settings save properly.
   
   2. I wasn’t sure of the priority of global/post type/filter type plugin lists.
   So I first tried disable plugin globally and then enable only on post types. 
   However, it didn’t work. The plugins stayed disabled. Then I enabled globally,
   and disabled on post type (the reverse way), however nothing happened again, 
   they stayed as the global settings. Then I was already alarmed that there must
   be something wrong. But I also tried the Filter type list (with the product url
   base), enabling children url fuzzying. Unfortunately, still no difference and
   I cannot make it work for post type.
 * Please I’d appreciate some help or advice. Thank you.
 * [https://wordpress.org/plugins/plugin-organizer/](https://wordpress.org/plugins/plugin-organizer/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/post-type-plugins-not-working/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/post-type-plugins-not-working/page/2/?output_format=md)

 *  Thread Starter [Juddi22](https://wordpress.org/support/users/juddi22/)
 * (@juddi22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113756)
 * So as an update,
    After some time of testing, I can say that with the new plugin
   version, nor the Fiters, nor the Post types work. The only still working way 
   to activate/deactivate plugins is with the on-page settings. I hope there is 
   a fix for this. Again, Everything saves properly and settings stay on page reload,
   but do not appear to be working.
 * Thanks
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113767)
 * After you go to the Post Type Plugins page and click save and then go to the 
   edit page for one of the posts it is supposed to affect. Do you still get the
   on/off buttons to set the plugins? Those should no longer appear if everything
   saved correctly.
 *  Thread Starter [Juddi22](https://wordpress.org/support/users/juddi22/)
 * (@juddi22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113792)
 * I go to the Post type page and save all the settings. Then on the post page there
   is the messega that settings are ovveridden by the post type. Everything looks
   good, however, they do not actually happen.
    The only way to disactivate/activate
   plugins seems to be if I click the Override post type settings and do it on per
   page basis.
 *  Thread Starter [Juddi22](https://wordpress.org/support/users/juddi22/)
 * (@juddi22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113825)
 * Update: Another curious thing I noticed is that after some time some of my plugins
   get disactivated automatically on the General plugins page, thus causing them
   to be inactive globally.
    I checked what is going on on the global settings page
   of Plugin organizer. The plugins which cause problems are actually active globally
   and disactivated only on mobile, so I guess it confuses my 14″ pc screen with
   mobile?
 *  Thread Starter [Juddi22](https://wordpress.org/support/users/juddi22/)
 * (@juddi22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113826)
 * And it may be useful – in the Error logs I receive the following:
    PHP Warning:
   array_search() expects parameter 2 to be array, string given in /home/boutiqs/
   public_html/wp-content/mu-plugins/PluginOrganizerMU.class.php on line 322
 *  Duplicate entry ‘92489’ for key ‘PRIMARY’ при заявка INSERT INTO `bsc_2_PO_plugins`(`
   post_id`, `permalink`, `permalink_hash`, `permalink_hash_args`, `enabled_plugins`,`
   disabled_plugins`, `enabled_mobile_plugins`, `disabled_mobile_plugins`, `enabled_groups`,`
   disabled_groups`, `enabled_mobile_groups`, `disabled_mobile_groups`, `secure`,`
   post_type`, `status`) VALUES (…. ‘0’, ‘post’, ‘publish’) executed by do_action(‘
   wp_ajax_PO_save_pt_plugins’), call_user_func_array, PO_Ajax->save_pt_plugins
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113865)
 * Sorry it has taken so long to respond. I think I know what the problem is. I 
   will release an update tonight that will fix it.
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113872)
 * Version 6.0.4 should fix the problem.
 *  Thread Starter [Juddi22](https://wordpress.org/support/users/juddi22/)
 * (@juddi22)
 * [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113873)
 * Thank you for the update,
    Unfortunately, just upon activating the plugin I received
   this error [20-May-2015 14:21:16 UTC] PHP Warning: array_search() expects parameter
   2 to be array, string given in /home/boutiqs/public_html/wp-content/plugins/plugin-
   organizer/lib/PluginOrganizer.class.php on
 * Now it is installed so if you need to you may login in the website and see it
   functioning.
 * Again – no plugins can be activaed/disable from Post type board, only the global
   board works.
 * I very much hope this can be solved very soon.
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113874)
 * You didn’t give me the full error message. It should have a line number at the
   end.
 * I don’t think I have a log in for your website.
 *  Thread Starter [Juddi22](https://wordpress.org/support/users/juddi22/)
 * (@juddi22)
 * [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113880)
 * Sorry they are these two lines actually:
 * [20-May-2015 14:21:16 UTC] PHP Warning: array_search() expects parameter 2 to
   be array, string given in public_html/wp-content/plugins/plugin-organizer/lib/
   PluginOrganizer.class.php on line 560
    [20-May-2015 14:21:16 UTC] PHP Warning:
   in_array() expects parameter 2 to be array, string given in public_html/wp-content/
   plugins/plugin-organizer/lib/PluginOrganizer.class.php on line 1293
 * Can you give me an email address to send them to?
 * Thanks
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113881)
 * > I don’t think I have a log in for your website.
 * I hope you don’t. That’s really frowned upon in these forums.
 * [@juddi22](https://wordpress.org/support/users/juddi22/) Can you share the output
   from this plugin?
 * [https://wordpress.org/plugins/send-system-info/](https://wordpress.org/plugins/send-system-info/)
 * That can provide lots of info that may help identify why you’re getting that 
   warning.
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113883)
 * In both of those spots it is trying to do an array search on the list of available
   plugins. When calling get_option(“active_plugins”) it appears your site is returning
   a string instead of an array. It may be a conflict with another plugin. Can you
   create a plugin filter with the permalink set to [http://www.yoursite.com/wp-admin/admin-ajax.php](http://www.yoursite.com/wp-admin/admin-ajax.php)
   and disable all plugins on it? Replace [http://www.yoursite.com](http://www.yoursite.com)
   with the domain and path your site uses. Then try it again.
 *  Thread Starter [Juddi22](https://wordpress.org/support/users/juddi22/)
 * (@juddi22)
 * [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113884)
 * Thank you, by all plugins do you mean including Plugin Organizer?
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113885)
 * Yes. You will also need to have selective admin loading enabled for it to work.
 *  Thread Starter [Juddi22](https://wordpress.org/support/users/juddi22/)
 * (@juddi22)
 * [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/#post-6113886)
 * So I tried what you suggested. A filter to deactivate all plugins but Plugin 
   Organizer on the admin.
    What happened was all plugins were globally deactivated
   throughout the site. So unfortunately there is some mysterious problem, not the
   other plugins.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/post-type-plugins-not-working/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/post-type-plugins-not-working/page/2/?output_format=md)

The topic ‘Post type plugins not working’ is closed to new replies.

 * ![](https://ps.w.org/plugin-organizer/assets/icon-256x256.png?rev=1786554)
 * [Plugin Organizer](https://wordpress.org/plugins/plugin-organizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugin-organizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugin-organizer/)
 * [Active Topics](https://wordpress.org/support/plugin/plugin-organizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugin-organizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugin-organizer/reviews/)

 * 17 replies
 * 3 participants
 * Last reply from: [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/post-type-plugins-not-working/page/2/#post-6113898)
 * Status: not resolved