amal.bukhari → created an issue.
Found it! It's from the module email_tfa.
Please advise on the next steps.
Ok. Will go through it. Thanks for the pointer!
Additional information on steps to reproduce:
- > drush sql:drop
- Installed Drupal via browser using minimal profile.
- > drush thin gin; drush in symfony_mailer mailer_transport; drush in acl actions_permissions address admin_toolbar admin_toolbar_search admin_toolbar_tools advanced_cors advancedqueue antibot auto_entitylabel autologout automated_cron better_exposed_filters big_pipe block_content bpmn_io breakpoint captcha charts charts_chartjs charts_highcharts ckeditor5 ckeditor5_plugin_pack ckeditor5_plugin_pack_auto_image ckeditor5_plugin_pack_bookmark ckeditor5_plugin_pack_emoji ckeditor5_plugin_pack_find_and_replace ckeditor5_plugin_pack_font ckeditor5_plugin_pack_highlight ckeditor5_plugin_pack_indent_block ckeditor5_plugin_pack_link_attributes ckeditor5_plugin_pack_page_break ckeditor5_plugin_pack_paste_markdown ckeditor5_plugin_pack_select_all ckeditor5_plugin_pack_text_transformation ckeditor5_plugin_pack_todo_document_list ckeditor5_plugin_pack_word_count coffee colorbox colorbox_inline colorbox_load config config_update config_update_ui consumers content_access content_moderation contextual csv_serialization custom_field custom_field_linkit custom_field_media custom_field_viewfield datetime datetime_range devel devel_generate diff download_all_files dynamic_entity_reference easy_breadcrumb easy_email easy_email_override eca eca_access eca_base eca_cache eca_config eca_content eca_development eca_endpoint eca_entity_print eca_file eca_log eca_misc eca_modeller_bpmn eca_parameters eca_parameters_ui eca_queue eca_render eca_site_building eca_tamper eca_ui eca_user eca_vbo eca_views eca_views_data_export eca_workflow editablefields editor email_registration email_tfa entity entity_block entity_browser entity_browser_enhanced entity_browser_entity_form entity_print entity_print_views entity_reference_revisions epp erd feeds feeds_ex feeds_log feeds_tamper fences fences_presets field_group field_layout field_permissions field_ui file filefield_paths filehash fpa geocoder geolocation gin_login gin_toolbar gin_toolbar_custom_menu helper history honeypot http_response_headers iconify_icons iframe image image_captcha inline_entity_form inline_form_errors jquery_ui jquery_ui_accordion jquery_ui_autocomplete jquery_ui_datepicker jquery_ui_draggable jquery_ui_droppable jquery_ui_menu jquery_ui_resizable jquery_ui_slider jquery_ui_touch_punch js_cookie jsonapi jsonapi_defaults jsonapi_extras key key_auth layout_builder layout_discovery link linkit login_history maxlength media media_library menu_link_content menu_ui modal_page monolog multiple_fields_remove_button ng_lightbox openapi openapi_jsonapi openapi_rest openapi_ui openapi_ui_redoc options pager_serializer parameters parameters_ui password_policy password_policy_blacklist password_policy_character_types password_policy_characters password_policy_consecutive password_policy_delay password_policy_history password_policy_length password_policy_username path pathauto persistent_login profile queue_order queue_ui recaptcha_v3 redirect redirect_404 redirect_domain remove_http_headers responsive_image rest rest_views rest_views_geo rest_views_revisions rest_views_search_api restui s3fs s3fs_cors schemata schemata_json_schema search_api seckit security_review serialization session_inspector session_inspector_browserdetector session_inspector_hostname_geocoder session_limit settings_tray simple_oauth sitewide_alert sitewide_alert_block smart_date smart_date_recur smart_trim subpathauto subrequests symfony_mailer_log symfony_mailer_queue tac_lite tac_lite_create tagify tagify_iconify_icons tagify_user_list tamper taxonomy taxonomy_machine_name taxonomy_manager telephone token token_eca_alter token_filter toolbar trash twig_tweak ultimate_cron user_registrationpassword view_custom_table view_password views views_aggregator views_aggregator_more_functions views_argument_token views_bulk_edit views_bulk_operations views_conditional views_data_export views_extras views_ui visitors visitors_geoip workflows xmlsitemap xmlsitemap_custom xmlsitemap_engines;
- Activated Gin theme and set as default.
- Logged out.
- Logged in, and got WSOD with the error.
- Reloaded page and page worked fine.
Interestingly however, the following reproduction didn't produce the error
- > drush sql:drop
- Installed Drupal via browser using minimal profile.
- > drush thin gin; drush in eca_form eca_helper simple_oauth remove_http_headers;
- Activated Gin theme and set as default.
- Logged out.
- Logged in.
- Reloaded page and page worked fine.
Hi Jurgen,
Below is the stacktrace:
The website encountered an unexpected error. Try again later.
TypeError: Drupal\eca_form\HookHandler::submit(): Argument #1 ($form) must be of type array, null given in Drupal\eca_form\HookHandler::submit() (line 146 of modules/contrib/eca/modules/form/src/HookHandler.php).
call_user_func_array(Array, Array) (Line: 129)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(NULL, Object) (Line: 67)
Drupal\Core\Form\FormSubmitter->doSubmitForm(NULL, Object) (Line: 597)
Drupal\Core\Form\FormBuilder->processForm('user_login_form', NULL, Object) (Line: 326)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 68)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 90)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 49)
Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
amal.bukhari → created an issue.
Upon searching, this can be overcome without specifying the scope parameter.
A new problem appears. From above, after requesting a new access token using the refresh token, I cannot post nodes. The error thrown is "The 'access content' permission is required".
This error is not thrown if I get a fresh new token (from grant_type=password) instead of regenerating (grant_type=refresh_token).
Found it. Requesting for a new access token also gives a new refresh token.
Found it. Requesting for a new access token also gives a new refresh token.
Hi all,
Since the original post has started albeit for a different version, I'd just ask for help here.
I'm using 5.2 with password grant type. I know it's not safe, but this is for testing purposes only.
I have generated the access and refresh tokens from /oauth/token.
Now, I want to generate a new access token, so I used the refresh token from above in /oauth/token, but with the grant_type now is refresh token, with the refresh_token being the refresh token from above. By right, I should get a new access token.
This is achievable only once. For subsequent requests, I'm getting "Token has been revoked".
Hi all,
Since the original post has started albeit for a different version, I'd just ask for help here.
I'm using 5.2 with password grant type. I know it's not safe, but this is for testing purposes only.
I have generated the access and refresh tokens from /oauth/token.
Now, I want to generate a new access token, so I used the refresh token from above in /oauth/token, but with the grant_type now is refresh token, with the refresh_token being the refresh token from above. By right, I should get a new access token.
This is achievable only once. For subsequent requests, I'm getting "Token has been revoked".
amal.bukhari → created an issue.
amal.bukhari → created an issue. See original summary → .
I got around this by uninstalling the devel module using drush drush un devel
.
This is the message backtrace from log if I open an existing views that uses 'table with aggregation' display format.
Error log message:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "views_aggregator_plugin_style_table" plugin does not exist. Valid plugin IDs for Drupal\views\Plugin\ViewsPluginManager are: chart, entity_reference_revisions, serializer, data_export, default_summary, unformatted_summary, grid_responsive, rss, grid, entity_reference, default, table, html_list, opml in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /var/www/html/<site_name>/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Backtrace:
#0 /var/www/html/crr.terus.my/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(25): Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition(Array, 'views_aggregato...', true)
#1 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(16): Drupal\Core\Plugin\DefaultPluginManager->getDefinition('views_aggregato...')
#2 /var/www/html/crr.terus.my/web/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(83): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('views_aggregato...', Array)
#3 /var/www/html/crr.terus.my/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(821): Drupal\Component\Plugin\PluginManagerBase->createInstance('views_aggregato...')
#4 /var/www/html/crr.terus.my/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(795): Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin('style')
#5 /var/www/html/crr.terus.my/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2480): Drupal\views\Plugin\views\display\DisplayPluginBase->usesFields()
#6 /var/www/html/crr.terus.my/web/core/modules/views/src/ViewExecutable.php(2116): Drupal\views\Plugin\views\display\DisplayPluginBase->validate()
#7 /var/www/html/crr.terus.my/web/core/modules/views_ui/src/ViewFormBase.php(128): Drupal\views\ViewExecutable->validate()
#8 /var/www/html/crr.terus.my/web/core/modules/views_ui/src/ViewFormBase.php(49): Drupal\views_ui\ViewFormBase->getDisplayTabs(Object(Drupal\views_ui\ViewUI))
#9 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Entity/EntityForm.php(126): Drupal\views_ui\ViewFormBase->prepareEntity()
#10 /var/www/html/crr.terus.my/web/core/modules/views_ui/src/ViewFormBase.php(26): Drupal\Core\Entity\EntityForm->init(Object(Drupal\Core\Form\FormState))
#11 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Entity/EntityForm.php(97): Drupal\views_ui\ViewFormBase->init(Object(Drupal\Core\Form\FormState))
#12 /var/www/html/crr.terus.my/web/core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#13 [internal function]: Drupal\views_ui\ViewFormBase->buildForm(Array, Object(Drupal\Core\Form\FormState))
#14 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array(Array, Array)
#15 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Form/FormBuilder.php(283): Drupal\Core\Form\FormBuilder->retrieveForm('view_edit_form', Object(Drupal\Core\Form\FormState))
#16 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Entity/EntityFormBuilder.php(48): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\views_ui\ViewEditForm), Object(Drupal\Core\Form\FormState))
#17 /var/www/html/crr.terus.my/web/core/modules/views_ui/src/Controller/ViewsUIController.php(230): Drupal\Core\Entity\EntityFormBuilder->getForm(Object(Drupal\views_ui\ViewUI), 'edit', Array)
#18 [internal function]: Drupal\views_ui\Controller\ViewsUIController->edit(Object(Drupal\views_ui\ViewUI), NULL)
#19 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#20 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#21 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#22 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#23 /var/www/html/crr.terus.my/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#24 /var/www/html/crr.terus.my/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#25 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 /var/www/html/crr.terus.my/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /var/www/html/crr.terus.my/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /var/www/html/crr.terus.my/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /var/www/html/crr.terus.my/web/modules/contrib/advban/src/AdvbanMiddleware.php(57): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /var/www/html/crr.terus.my/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\advban\AdvbanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 /var/www/html/crr.terus.my/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#38 /var/www/html/crr.terus.my/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#39 {main}
amal.bukhari → created an issue.
Thanks for the repair. Checking now.
amal.bukhari → created an issue.
Hi,
I'm not using Commerce but I just want to replicate the same table. One column is counted, another is tallied and another is summed.
Problem is whenever I added "Tally members *", I got this error:
TypeError: Cannot assign array to property Drupal\views\Plugin\views\field\FieldPluginBase::$last_render of type Drupal\Component\Render\MarkupInterface|string|null in Drupal\views_aggregator\Plugin\views\style\Table->executeAggregationFunctions() (line 540 of /var/www/html//web/modules/contrib/views_aggregator/src/Plugin/views/style/Table.php).
Kind regards,
Amal.
Hi Jurrian,
This error has made a comeback, again. Whenever I want to import configuration files, the same error will be displayed on screen.
Kind regards,
Amal.
Hi,
Used the action switch current user, worked wonders! Thanks a lot for the heads up!
Regards,
Amal.
Hi,
I've followed your guide and also on ECA Guide, but I'm getting the error that I cannot change UID when updating content.
Should it be after saving a new content, or use presave instead?
Hi,
I got the same error again when I run cron via drush. After running the command provided, I restarted my web server and PHP-FPM, ran cron via drush, and the same error appeared again.
Regards,
Amal.
amal.bukhari → created an issue.
It seems like after installing DXPR builder, I cannot import any configuration, without uninstalling DXPR builder first.
Same thing happens whenever I want to import any configuration.
Hi,
Any updates on this possibility? In addition to previous issue of communicating with external APIs (now solved), can we extend it to read the response from external APIs and respond to it from Drupal?
Kind regards,
Amal.
amal.bukhari → created an issue.
Hi,
I'm using standard Drupal menus. The latest update has resolved this error.
Kind regards,
Amal.
amal.bukhari → created an issue.
amal.bukhari → created an issue.
amal.bukhari → created an issue.