-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Labels
priority: normalThe issue/PR is normal priority—not many people are affected or there’s a workaround, etc.The issue/PR is normal priority—not many people are affected or there’s a workaround, etc.type: enhancementThe issue is a request for an enhancement.The issue is a request for an enhancement.
Description
Hey,
A few of our plugin users (Pro version of the Automator plugin) have reported this issue. We are using v3.4.0 of the Action Scheduler library in our plugin. Has anyone else reported the problem?
"require": {
"woocommerce/action-scheduler": "^3.4.0"
},
Can this hardcoded extended_args varchar(8000)
limit be changed to longext
instead?
extended_args varchar(8000) DEFAULT NULL, |
[02-Sep-2022 08:54:31 UTC] PHP Fatal error: Uncaught RuntimeException: Error saving action: ActionScheduler_Action::$args too long. To ensure the args column can be indexed, action args should not be more than 8000 characters when encoded as JSON. in /wp-content/plugins/xxxxxx/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:86
Stack trace:
#0 /wp-content/plugins/xxxxxx/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_DBStore->save_action(Object(ActionScheduler_Action))
#1 /wp-content/plugins/xxxxxx/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
#2 /wp-content/plugins/xxxxxx/vendor/woocommerce/action-scheduler/functions.php(36): ActionScheduler_ in /wp-content/plugins/xxxxxx/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 86
bugnumber9, m4munib and JosephGabito
Metadata
Metadata
Assignees
Labels
priority: normalThe issue/PR is normal priority—not many people are affected or there’s a workaround, etc.The issue/PR is normal priority—not many people are affected or there’s a workaround, etc.type: enhancementThe issue is a request for an enhancement.The issue is a request for an enhancement.