Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter wordpressssupport

    (@wordpressssupport)

    @nsgawli thanks, it worked but can I change it from support>settings>Ticket Categories, it shows categories in settings even though I have changed it to departments. can it be changed programmatically from function.php with a hook?

    Thread Starter wordpressssupport

    (@wordpressssupport)

    i don’t want to add or edit categories, but I want to change the category label itself like it is in awesome support plugin.it allows you to change the department label itself, so I don’t have refer it as department.

    Thread Starter wordpressssupport

    (@wordpressssupport)

    thanks for your reply but the issue has been resolved. i tried debug mode in facetwp and then I saw in chrome console the error, it was running the query of post_type ticket(awesome support) but i wanted post_type of user, post so I forced facetwp to ignore query of post_type ticket using facetwp filter by the following code:

    add_filter( ‘facetwp_is_main_query’, function( $is_main_query, $query ) {
        if ( ‘ticket’ == $query->get( ‘post_type’ ) ) {
            $is_main_query = false;
        }
        return $is_main_query;
    }, 10, 2 );

    hope it helps people.

    Thread Starter wordpressssupport

    (@wordpressssupport)

    I have tried deactivating all the plugins and switching back to the default WordPress theme and only activating facetwp and awesome support and it’s not working but as soon as deactivate facetwp is working as intended. I think facetwp and awesome support plugin are causing conflicts.

    The debug.log error messages that I got are:

    [12-Mar-2021 08:58:32 UTC] PHP Notice map_meta_cap was called incorrectly. The post type shop_order is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home/rifah/public_html/wp-includes/functions.php on line 5313
    
    [12-Mar-2021 08:58:32 UTC] PHP Notice map_meta_cap was called incorrectly. The post type shop_order is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home/rifah/public_html/wp-includes/functions.php on line 5313
    
    [12-Mar-2021 08:58:32 UTC] PHP Notice map_meta_cap was called incorrectly. The post type shop_subscription is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home/rifah/public_html/wp-includes/functions.php on line 5313
    
    [12-Mar-2021 08:58:32 UTC] PHP Notice map_meta_cap was called incorrectly. The post type shop_subscription is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home/rifah/public_html/wp-includes/functions.php on line 5313
    
    [12-Mar-2021 08:58:32 UTC] PHP Notice map_meta_cap was called incorrectly. The post type shop_order is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home/rifah/public_html/wp-includes/functions.php on line 5313
    
    [12-Mar-2021 08:58:32 UTC] PHP Notice map_meta_cap was called incorrectly. The post type shop_order is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home/rifah/public_html/wp-includes/functions.php on line 5313
    
    [12-Mar-2021 08:58:32 UTC] PHP Notice map_meta_cap was called incorrectly. The post type shop_order is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home/rifah/public_html/wp-includes/functions.php on line 5313
    
    [12-Mar-2021 08:58:32 UTC] PHP Notice map_meta_cap was called incorrectly. The post type shop_subscription is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home/rifah/public_html/wp-includes/functions.php on line 5313
    
    [12-Mar-2021 08:58:32 UTC] PHP Notice map_meta_cap was called incorrectly. The post type shop_subscription is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home/rifah/public_html/wp-includes/functions.php on line 5313
    
    [12-Mar-2021 08:58:32 UTC] PHP Notice map_meta_cap was called incorrectly. The post type shop_order is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home/rifah/public_html/wp-includes/functions.php on line 5313
Viewing 4 replies - 1 through 4 (of 4 total)