WordPress plugin error

Hi

I tried to get the WP plugin going but it keeps giving me this error. I deleted the plugin and downloaded it and then uploaded it but still am getting the same error.

Thanks

				Fatal error: Uncaught Error: Call to undefined method Patreon_API::create_refresh_client() in /home2/mql9ji8l/public_html/wp-content/plugins/patreon-connect/classes/patreon_routing.php:329 Stack trace: #0 /home2/mql9ji8l/public_html/wp-includes/class-wp-hook.php(288): Patreon_Routing->parse_request(Object(WP)) #1 /home2/mql9ji8l/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /home2/mql9ji8l/public_html/wp-includes/plugin.php(544): WP_Hook->do_action(Array) #3 /home2/mql9ji8l/public_html/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array) #4 /home2/mql9ji8l/public_html/wp-includes/class-wp.php(729): WP->parse_request('') #5 /home2/mql9ji8l/public_html/wp-includes/functions.php(1255): WP->main('') #6 /home2/mql9ji8l/public_html/wp-blog-header.php(16): wp() #7 /home2/mql9ji8l/public_html/index.php(17): require('/home2/mql9ji8l...') #8 {main} thrown in /home2/mql9ji8l/public_html/wp-content/plugins/patreon-connect/classes/patreon_routing.php on line 329

There has been a critical error on your website.

Have you installed the plugin before, like a year ago or a similar duration?

There is a fix in the below branch, if you can download and use github.

Youll have to delete your existing plugin and upload the zip downloaded from above.

I tried to upload an installable package to dropbox, but its timing out on their end. Ill try tomorrow again.

Hi. Thanks for your reply. No, I created an account only last week on Patreon & last week itself I tried installing the plugin. Incidentally, I have another website and there, the plugin worked great. It is only on this website that this error is coming up. I deleted the WP plugin and downloaded it again in zip file and uploaded (not from GitHub) but from your WP Plugin site. But it still gives the same error. Thanks.

but from your WP Plugin site

Which particular site?

In any case, 1.5.3 is out with a fix for this particular issue and similar issues.

Just upgrade to 1.5.3 from your WP admin, and you can retry connecting/reconnecting your site again.

Hi

Thanks. Will do that and get back.

Hi. Ok I used the new version of the WP Plugin but now it gives this error, " Sorry - to connect your site to Patreon you need to be an admin user." I am the Admin for my Site. Can you let me know what this is? Thanks

Now this is somewhat informative - are you using WP multisite?

The plugin checks for ‘manage_options’ privilege. If this privilege does not exist for that particular account, it does not allow site connection.

Hi. Yes, I am using WP Multisite and I have only one site there. So what should be my next move? I am also the admin for multisite as well as that 1 site. Thanks

Can you try connecting your site using the Network admin instead of that site’s admin?

Or, vice versa? If you were using Network admin, try using the site’s admin to connect that particular site.

Note that you cannot connect entire master network to Patreon. Each site must be connected separately.

Hi, Okay it worked! I am now connected. Thank you very much for your time & patience.

1 Like

Great to hear. Good luck with your patrons.