Title: Vasyl Martyniuk's Replies | WordPress.org

---

# Vasyl Martyniuk

  [  ](https://wordpress.org/support/users/mvb_wordpress/)

 *   [Profile](https://wordpress.org/support/users/mvb_wordpress/)
 *   [Topics Started](https://wordpress.org/support/users/mvb_wordpress/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mvb_wordpress/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mvb_wordpress/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mvb_wordpress/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mvb_wordpress/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mvb_wordpress/favorites/)

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/mvb_wordpress/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/mvb_wordpress/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/mvb_wordpress/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] PHP 8.2 Compatibility Issue – Null pointer in Content.php line 792](https://wordpress.org/support/topic/php-8-2-compatibility-issue-null-pointer-in-content-php-line-792/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [3 months ago](https://wordpress.org/support/topic/php-8-2-compatibility-issue-null-pointer-in-content-php-line-792/#post-18813835)
 * [@yg1958](https://wordpress.org/support/users/yg1958/) thank you for the report.
   Indeed. It is possible when get_post function returns null if post does not exist.
   We are going to address this in the next AAM release.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] Cloned Roles not working as original](https://wordpress.org/support/topic/cloned-roles-not-working-as-original/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/cloned-roles-not-working-as-original/#post-18538614)
 * [@kcisme](https://wordpress.org/support/users/kcisme/) thank you for the explanation.
 * It is likely access that you are trying to configure requires actual Administrator
   role assigned to user. Unfortunately some plugin developers choose to use role-
   based access strategy instead of deferring to WordPress capabilities.
 * You would have to work with their plugin dev team to understand better what criteria
   user needs to meet in order to get access to desired functionality. As alternative–
   you can always check their source code to understand better what is going on.
 * Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] Conflict with login plugin](https://wordpress.org/support/topic/conflict-with-another-plugin-92/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/conflict-with-another-plugin-92/#post-18532998)
 * [@maginem](https://wordpress.org/support/users/maginem/),
 * Can’t quite reproduce your issue and I’ve tried several different settings with
   WPS Hide Login. Maybe there is some incompatibility issue between both plugins
   that we can’t understand at the moment.
 * Try to go to AAM and on the “Settings” page disable “Login Redirect” service.
   This may help.
 * Otherwise, let us know what settings you have defined on the Settings -> WPS 
   Hide Login page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] Not working…](https://wordpress.org/support/topic/not-working-4353/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/not-working-4353/#post-18532996)
 * [@edge24ema](https://wordpress.org/support/users/edge24ema/)
 * Hm, Backend Menu & Admin Toolbar are foundational services in AAM and so far 
   you are the only one reporting that they are completely not working. Please send
   us exported AAM settings to [support@aamplugin.com](https://wordpress.org/support/users/mvb_wordpress/replies/support@aamplugin.com?output_format=md)
   and we’ll check your setup.
 * Regards,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] Hide plugins via Access & Security Policy](https://wordpress.org/support/topic/hide-plugins-via-access-security-policy/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/hide-plugins-via-access-security-policy/#post-18532974)
 * [@inomi13](https://wordpress.org/support/users/inomi13/),
 * The **“Plugin”** resource was removed in AAM 7 after a thorough evaluation revealed
   significant inconsistencies in how WordPress core manages plugins across the 
   Backend and the REST API. Specifically, while this resource allowed access control
   over the plugin list in the Backend, it proved ineffective for the REST API.
 * Additionally, we determined that the `/plugins` endpoint in WordPress core lacks
   the flexibility needed to support the same level of granular access control available
   on the Backend Plugins page.
 * To avoid creating a false sense of security, we made the decision to remove this
   resource entirely in AAM v7.
 * Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] aam_jwt_claims_filter no longer works as expected](https://wordpress.org/support/topic/aam_jwt_claims_filter-no-longer-works-as-expected/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/aam_jwt_claims_filter-no-longer-works-as-expected/#post-18503156)
 * [@tohevi](https://wordpress.org/support/users/tohevi/) thank you for the follow
   up. I’ve tested custom filter functionality over and over again and can’t reproduce
   an issue. My best guess is that you register `aam_jwt_claims_filter` filter likely
   after the token is issued. Here is what I’ve done to test it.
 * #1. Created a custom plugin to test the filter:
 *     ```wp-block-code
       <?php/*** Plugin Name: AAM Test Bug* Description: Just a playground for any functionality that is related to AAM* Version: 1.0.0* Author: Vasyl Martyniuk <vasyl@vasyltech.com>* Author URI: https://vasyltech.com** -------* LICENSE: This file is subject to the terms and conditions defined in* file 'LICENSE', which is part of AAM Protected Media Files source package.**/if (defined('ABSPATH')) {function cci_aam_extend_jwt_claims($claims) {return array_merge($claims, ['house' => 'house','apartment_id' => 'apartment_id','family_id' => 'family_id','customer_number' => 'custom_number',]);}add_filter('aam_jwt_claims_filter', 'cci_aam_extend_jwt_claims');}
       ```
   
 * Issued a token with AAM UI and custom claims are in the token:
 *     ```wp-block-code
       {  "jti": "a8fc8b70-8b46-476b-882d-ae3a29d9acfd",  "revocable": true,  "refreshable": false,  "house": "house",  "apartment_id": "apartment_id",  "family_id": "family_id",  "customer_number": "custom_number",  "iat": 1749427205,  "iss": "http://demo.local",  "exp": 1751068802,  "user_id": 1}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] Protected media files not working](https://wordpress.org/support/topic/protected-media-files-not-working/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [11 months, 4 weeks ago](https://wordpress.org/support/topic/protected-media-files-not-working/#post-18471560)
 * [@treetex](https://wordpress.org/support/users/treetex/) got it. Looking into
   the root cause and if we can replicate it – we’ll release a new update to the
   add-on.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] Problem with non-primitive capabilities in WooCommerce](https://wordpress.org/support/topic/problem-with-non-primitive-capabilities-in-woocommerce/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [11 months, 4 weeks ago](https://wordpress.org/support/topic/problem-with-non-primitive-capabilities-in-woocommerce/#post-18471550)
 * [@virtualdemon](https://wordpress.org/support/users/virtualdemon/) wondering 
   if you have a custom capability `aam_show_admin_notices` created. We’ve noticed
   that WooCommerce for no particular reasons rely on admin_notifications filters
   to render their UI (likely a bug on their end).
 * Otherwise, I can’t quite replicate your issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] Can Not Edit Password Protected Block Pages](https://wordpress.org/support/topic/can-not-edit-password-protected-block-pages/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [12 months ago](https://wordpress.org/support/topic/can-not-edit-password-protected-block-pages/#post-18469924)
 * [@andisites](https://wordpress.org/support/users/andisites/) thank you for the
   report. We were able to replicate the issue and looking into the root cause. 
   It’ll be fixed in the next minor AAM release 7.0.3
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] aam_jwt_claims_filter no longer works as expected](https://wordpress.org/support/topic/aam_jwt_claims_filter-no-longer-works-as-expected/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [12 months ago](https://wordpress.org/support/topic/aam_jwt_claims_filter-no-longer-works-as-expected/#post-18469913)
 * [@tohevi](https://wordpress.org/support/users/tohevi/) thank you for the report.
   Likely the issue is with:
 *     ```wp-block-code
       if (!isset($claims['userId'])) {        return $claims;    }
       ```
   
 * To standardize props, the `userId` now is `user_id`.
 * Give a try and keep us posted.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] Fatal Error on WP Admin Menus Page](https://wordpress.org/support/topic/fatal-error-on-wp-admin-menus-page/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [12 months ago](https://wordpress.org/support/topic/fatal-error-on-wp-admin-menus-page/#post-18469904)
 * [@edk19](https://wordpress.org/support/users/edk19/) please refer to [https://wordpress.org/support/topic/v-7-0-2-crash-the-wp-admin-apparence-menu/](https://wordpress.org/support/topic/v-7-0-2-crash-the-wp-admin-apparence-menu/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] v 7.0.2 crash the wp-admin Apparence > menu](https://wordpress.org/support/topic/v-7-0-2-crash-the-wp-admin-apparence-menu/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [12 months ago](https://wordpress.org/support/topic/v-7-0-2-crash-the-wp-admin-apparence-menu/#post-18469870)
 * [@npalmigiano](https://wordpress.org/support/users/npalmigiano/) and [@ceccah5](https://wordpress.org/support/users/ceccah5/)
   thank you for the issue. The root cause was identified and [@npalmigiano](https://wordpress.org/support/users/npalmigiano/)
   your fix is a good attempt, but it’ll not work. The entire idea behind these 
   couple lines of code is to differentiate between term metaboxes as WordPress 
   core recycles the same callback function for all taxonomies (including custom)
 * The best fix for now is to disable the “Metaboxes” service on AAM “Settings” 
   tab.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] PHP Notice: Function _load_textdomain_just_in_time](https://wordpress.org/support/topic/php-notice-function-_load_textdomain_just_in_time-9/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [12 months ago](https://wordpress.org/support/topic/php-notice-function-_load_textdomain_just_in_time-9/#post-18466120)
 * [@bentalgad](https://wordpress.org/support/users/bentalgad/) this issue was resolved
   in the past few releases. Keep me posted if anything.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] Plugin cuases critical error](https://wordpress.org/support/topic/plugin-cuases-critical-error/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [12 months ago](https://wordpress.org/support/topic/plugin-cuases-critical-error/#post-18465438)
 * [@raoulunger](https://wordpress.org/support/users/raoulunger/) got it. Identified
   the root cause. We are going to adjust AAM functionality in the next minor release
   7.0.2 to work better with plugins that hook into WP core initialization early
   on.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] Plugin cuases critical error](https://wordpress.org/support/topic/plugin-cuases-critical-error/)
 *  Plugin Support [Vasyl Martyniuk](https://wordpress.org/support/users/mvb_wordpress/)
 * (@mvb_wordpress)
 * [12 months ago](https://wordpress.org/support/topic/plugin-cuases-critical-error/#post-18465395)
 * Hm, interesting. Ok. I’m wondering if there is some sort of conflict. I see the
   trace goes through “updraftplus” plugin. I’ll try to install and replicate an
   issue.

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

1 [2](https://wordpress.org/support/users/mvb_wordpress/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/mvb_wordpress/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/mvb_wordpress/replies/page/2/?output_format=md)