• I used to use “plugin organizer” to disabled advanced woo search in admin page.
    but since I’m delete that plugin, right now, search picture name in admin’s media won’t be possible.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    Sorry, it is not clear for me.
    What you mean by ‘disabled advanced woo search in admin page’? Plugin are not search in admin area of your website. Only on website itself.

    Or you mean something else?

    Regards

    Thread Starter lmn40227

    (@lmn40227)

    Actually Advantage is affecting the media search in admin page.
    So I won’t be able search picture in admin page if I activate the plugin.

    If u have time, I can send you my background login information, u can take a short looks.

    Situation for now :

    1. if I activate advantage woo search, I won’t be use search in mysite.com/wp-admin/upload.php

    2. I try to block advantage woo search in admin page but failed.

    Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    1 . So, as I understand you, when you activate Advanced Woo Search plugin you have some problem with search on mysite.com/wp-admin/upload.php. Is that correct?
    It is strange because plugin doesn’t reflect on admin search behavior.

    2. Please tell me how you try to block it? Do you try to deactivate search plugin and test search on mysite.com/wp-admin/upload.php after this?

    Regards

    Thread Starter lmn40227

    (@lmn40227)

    include_once(ABSPATH . ‘wp-includes/pluggable.php’);

    if( is_user_logged_in() ) {
    $user = wp_get_current_user();
    $role = ( array ) $user->roles;
    $adc = $role[0];
    }else{
    $adc = ”;
    }

    if( $adc == ‘administrator’ ){

    return;
    }

    I add this in the beginning of advanced-woo-search-pro.php

    Thread Starter lmn40227

    (@lmn40227)

    After I update that, php_errorlog

    thrown in /wp-content/plugins/advanced-woo-search-pro/advanced-woo-search-pro.php on line 221
    [04-Dec-2018 16:52:33 UTC] PHP Fatal error: Uncaught Error: Call to undefined function aws_pro_is_plugin_active() in /wp-content/plugins/advanced-woo-search-pro/advanced-woo-search-pro.php:221

    Plugin Author ILLID

    (@mihail-barinov)

    So you want to disable plugin to users with role ‘administrator’?

    Strange that you have this error because if your code triggered that its just stop initialization of plugin.

    I just check it on my server and this works fine without any errors.

    Are you sure that you don’t make any other changes in the plugin code?
    Maybe you see any syntax errors for advanced-woo-search-pro.php?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The search won’t be able use in admin’ is closed to new replies.