- πΉπ·Turkey alexander.levitsky Antalya
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.
- πΊπΈUnited States jrockowitz Brooklyn, NY
I ran into #7 and the patch fixes the issue.
- last update
over 1 year ago 51 pass - @smustgrave opened merge request.
- last update
over 1 year ago 51 pass -
smustgrave β
committed 4691a949 on 2.x
Issue #3325327: Call to a member function getValue() on null in...
-
smustgrave β
committed 4691a949 on 2.x
- Status changed to Fixed
over 1 year ago 5:58pm 17 June 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
4 months ago 9:05pm 7 November 2024 - πΊπΈUnited States edwardchiapet New York, NY
smustgrave β credited edwardchiapet β .
- πΊπΈUnited States smustgrave