• 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://ww.wp.xz.cn/plugins/plugin-organizer/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter Juddi22

    (@juddi22)

    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

    (@foomagoo)

    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

    (@juddi22)

    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

    (@juddi22)

    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

    (@juddi22)

    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

    (@foomagoo)

    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

    (@foomagoo)

    Version 6.0.4 should fix the problem.

    Thread Starter Juddi22

    (@juddi22)

    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

    (@foomagoo)

    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

    (@juddi22)

    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

    (@jdembowski)

    Forum Moderator and Brute Squad

    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 Can you share the output from this plugin?

    https://ww.wp.xz.cn/plugins/send-system-info/

    That can provide lots of info that may help identify why you’re getting that warning.

    Plugin Author Jeff Sterup

    (@foomagoo)

    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 and disable all plugins on it? Replace http://www.yoursite.com with the domain and path your site uses. Then try it again.

    Thread Starter Juddi22

    (@juddi22)

    Thank you, by all plugins do you mean including Plugin Organizer?

    Plugin Author Jeff Sterup

    (@foomagoo)

    Yes. You will also need to have selective admin loading enabled for it to work.

    Thread Starter Juddi22

    (@juddi22)

    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)

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