2.5.16 will not activate – causes critical error
-
Update from 2.5.15 to 2.5.16 does not active and causes a critical error. Debug log shows as follows:
[11-Feb-2025 21:37:19 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/customer/www//public_html/wp-content/plugins/woocommerce-product-stock-alert/classes/Install.php:185
Stack trace: 0 /home/customer/www//public_html/wp-content/plugins/woocommerce-product-stock-alert/classes/Install.php(51): StockManager\Install::stock_manager_data_migrate() 1 /home/customer/www//public_html/wp-content/plugins/woocommerce-product-stock-alert/classes/Install.php(160): StockManager\Install::subscriber_migration() 2 /home/customer/www//public_html/wp-content/plugins/woocommerce-product-stock-alert/classes/Install.php(30): StockManager\Install->start_cron_job() 3 /home/customer/www//public_html/wp-content/plugins/woocommerce-product-stock-alert/classes/StockManager.php(102): StockManager\Install->__construct() 4 /home/customer/www//public_html/wp-includes/class-wp-hook.php(324): StockManager\StockManager->activate(false) 5 /home/customer/www//public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 6 /home/customer/www//public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /home/customer/www//public_html/wp-admin/includes/plugin.php(703): do_action(‘activate_woocom…’, false) 8 /home/customer/www//public_html/wp-admin/plugins.php(60): activate_plugin(‘woocommerce-pro…’, ‘https://staging…’, false) 9 {main}thrown in /home/customer/www//public_html/wp-content/plugins/woocommerce-product-stock-alert/classes/Install.php on line 185
- You must be logged in to reply to this topic.