My site crashes when I activate the Patreon plugin

I tried yesterday to install this plugin, but when I activate it, my site goes down and says “this site is experiencing technical difficulties.” It’s at annfosterwriter.com, and the error message reads:

An error of type E_ERROR was caused in line 1637 of the file /srv/htdocs/wp-content/plugins/patreon-connect/classes/patreon_wordpress.php . Error message: Uncaught ArgumentCountError: Too few arguments to function Patreon_Wordpress::format_creator_info_array(), 2 passed and exactly 3 expected in /srv/htdocs/wp-content/plugins/patreon-connect/classes/patreon_wordpress.php:1637 Stack trace: #0 [internal function]: Patreon_Wordpress::format_creator_info_array('https://c10.pat...', 'avatar_photo_ur...') #1 /srv/htdocs/wp-content/plugins/patreon-connect/classes/patreon_wordpress.php(1607): array_walk_recursive(Array, 'self::format_cr...') #2 /srv/htdocs/wp-content/plugins/patreon-connect/classes/patreon_wordpress.php(216): Patreon_Wordpress::update_creator_tiers_from_api() #3 /wordpress/core/5.2.2/wp-includes/class-wp-hook.php(286): Patreon_Wordpress->check_creator_tiers('') #4 /wordpress/core/5.2.2/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /wordpress/core/5.2.2/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #6 /wordpress/core/5.2.2/wp-settings.php(525): do_action('init') #7 /srv/htdocs/wp-config.php(84): require_once('/wordpress/core...') #8 /wordpress/core/5.2.2/wp-load.php(42): require_once('/srv/htdocs/wp-...') #9 /wordpress/core/5.2.2/wp-login.php(12): require('/wordpress/core...') #10 {main} thrown

Just to clarify, I uninstalled the plugin and reinstalled it again today and the same issue is occurring. It’s got the latest version.

Can you deactivate/delete the one you have, and try the below updated package please…

Thanks! It’s working now.

1 Like

Great to hear. Good luck with your patrons.