icecaster/TGM-Plugin-Activation — comment on commit 6a1de6f5dd60e94c370296305f2235ac2a7188e3
File: tgm-plugin-activation/class-tgm-plugin-activation.php line 1026
By thomasgriffin:

This is looking good, but you are referencing the wrong object for the menu page here and on some other lines within the TGMPA_List_Table class. $this is this instance is referring to the extended class TGMPA_List_Table and no longer TGM_Plugin_Activation since we are outside of that class. Use $_tgmpa->parent_admin_url instead as $_tgmpa holds everything from the static $instance within the TGM_Plugin_Activation class (which holds all the registered plugins and configurations).