@acosmin Yikes.. please rename your TGMPA registration function to have your theme functions prefix instead of my_theme
(my_theme_register_required_plugins
should be something like justwrite_register_required_plugins
)
While we’re on the topic: please upgrade the included version of the TGM plugin activation class to the latest version (2.6.1). You are currently using version v2.4.2 which is ”’very”’ old, out-of-date, buggy and has a known security issue.
If you download a fresh copy of TGMPA using the Custom TGMPA Generator, it will serve you with a customized download of TGMPA which will pass the Theme Check rules and solve nearly all of the above issues.
Be aware of some minor changes to the TGMPA configuration options. See the changelog for more information or the Configuration page for more detail on the current options.
In case you author any other themes using TGMPA: the same advice to upgrade the TGMPA library applies for those.