You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a plugin that includes via composer the Action Scheduler v3 library.
I tried to use that lib as_enqueue_async_action() function, but got the error:
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Error saving action: ActionScheduler_Action::$args too long. To ensure the args column can be indexed, action args should not be more than 191 characters when encoded as JSON.' in \my_plugin_dir\vendor\woocommerce\action-scheduler\classes\data-stores\ActionScheduler_DBStore.php:61
Stack trace:
#0 \my_plugin_dir\vendor\woocommerce\action-scheduler\classes\ActionScheduler_ActionFactory.php(177): ActionScheduler_DBStore->save_action(Object(ActionScheduler_Action))
#1 \my_plugin_dir\vendor\woocommerce\action-scheduler\classes\ActionScheduler_ActionFactory.php(69): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))
#2 \my_plugin_dir\vendor\woocommerce\action-scheduler\functions.php(16): ActionScheduler_ActionFactory->async('my_plugin_dir_action in \query-monitor\collectors\php_errors.php on line 82
So the page of my plugin was white-screened with uncaught exception and fatal error (rightfully), but above those errors I also found this from the QM v3.5.2 plugin:
PHP Notice: Undefined index: file in \query-monitor\classes\Backtrace.php on line 194
PHP Notice: Undefined index: file in \query-monitor\classes\Backtrace.php on line 195
PHP Notice: Undefined index: line in \query-monitor\classes\Backtrace.php on line 196
PHP Notice: Undefined index: file in \query-monitor\collectors\php_errors.php on line 72
The text was updated successfully, but these errors were encountered:
slaFFik
changed the title
PHP Notice: Undefined index in several files
PHP Notice: Undefined index in Backtrace.php & php_errors.php
Feb 5, 2020
I've made many improvements to the backtrace collection since this report. I'll close this off but if you can still reproduce it do please let me know. Thanks.
I have a plugin that includes via composer the Action Scheduler v3 library.
I tried to use that lib
as_enqueue_async_action()
function, but got the error:PHP Fatal error: Uncaught exception 'RuntimeException'
So the page of my plugin was white-screened with uncaught exception and fatal error (rightfully), but above those errors I also found this from the QM v3.5.2 plugin:
The text was updated successfully, but these errors were encountered: