alexander.levitsky β created an issue.
Hi fisherman90,
Really thank you for your solution, but let's keep the only drush command in the scope of this issue, without any code style fixes, because it conflicts with other patches.
I have prepared another PR with your drush command only.
Btw, it works perfectly for me as well.
alexander.levitsky β made their first commit to this issueβs fork.
naveenvalecha β credited alexander.levitsky β .
driverok β credited alexander.levitsky β .
alexander.levitsky β made their first commit to this issueβs fork.
alexander.levitsky β made their first commit to this issueβs fork.
Hi smustgrave, jonathan1055
I have checked it with the newest version of the module and the issue is still reproducible.
To reproduce it you have to have a devel module installed. Go to the page node/NODE_ID/devel/token and see the error.
The website encountered an unexpected error. Please try again later.
Error: Call to a member function getValue() on null in scheduler_content_moderation_integration_tokens() (line 49 of modules/contrib/scheduler_content_moderation_integration/scheduler_content_moderation_integration.tokens.inc).
scheduler_content_moderation_integration_tokens('node', Array, Array, Array, Object)
call_user_func_array(Object, Array) (Line: 426)
Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'scheduler_content_moderation_integration') (Line: 405)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('tokens', Object) (Line: 433)
Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array) (Line: 357)
Drupal\Core\Utility\Token->generate('node', Array, Array, Array, Object) (Line: 535)
token_tokens('node', Array, Array, Array, Object)
call_user_func_array(Object, Array) (Line: 426)
The provided simple patch is fixing this error.
Hi GafgarionMorua!
Thank you for your patch. it is merged to the dev branch.
alexander.levitsky β made their first commit to this issueβs fork.