Undefined variable: api_response on plugin activation


#1

i have debugging on currently & received the notice below. mostly an FYI for devs:

Notice: Undefined variable: api_response in …/patreon-connect/classes/patreon_wordpress.php on line 180**

Call Stack
# Time Memory Function Location
1 0.0008 527456 {main}( ) …/plugins.php : 0
2 0.0012 574640 require_once( ‘…/wp-admin/admin.php’ ) …/plugins.php : 10
3 0.0013 587216 require_once( ‘…/wp-load.php’ ) …/admin.php : 31
4 0.0015 613488 require_once( ‘…/wp-config.php’ ) …/wp-load.php : 37
5 0.0021 699288 require_once( ‘…/wp-settings.php’ ) …/wp-config.php : 305
6 0.3699 50569392 do_action( ) …/wp-settings.php : 450
7 0.3699 50569768 WP_Hook->do_action( ) …/plugin.php : 453
8 0.3699 50569768 WP_Hook->apply_filters( ) …/class-wp-hook.php : 310
9 0.4172 51398640 Patreon_Wordpress->checkv2APIAccess( ) …/class-wp-hook.php : 286


#3

I wasnt able to track that - which version of Patreon WordPress are you using? Is it the one from WP.org or is it from Patron Pro package?


#4

Plugin Version 1.1.2 downloaded from wp.org
WP version is 4.98


#5

Yeah, this is the earlier version - please try out the upcoming version’s beta: