Reply To: PHP errors in BUWS
Just confirming that this fatal error breaks Woo my account pages on our production site, here’s the error we see in a dev environment:
[07-Apr-2023 17:25:09 UTC] PHP Fatal error: Uncaught TypeError: array_reverse(): Argument #1 ($array) must be of type array, string given in /Users/chris/develop/wp/hmg/wp-content/plugins/bulk-update-woo-subs/includes/class-update-subs.php:348
Stack trace:
#0 /Users/chris/develop/wp/hmg/wp-content/plugins/bulk-update-woo-subs/includes/class-update-subs.php(348): array_reverse(”)
#1 /Users/chris/develop/wp/hmg/wp-includes/class-wp-hook.php(308): ElegantModules\BulkUpdateWooSubs\UpdateSubs->price_changed_notice(Object(WC_Subscription))
#2 /Users/chris/develop/wp/hmg/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#3 /Users/chris/develop/wp/hmg/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /Users/chris/develop/wp/hmg/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/templates/myaccount/view-subscription.php(30): do_action(‘woocommerce_sub…’, Object(WC_Subscription))