Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This broke recently but am not sure at what point. The homepage is 405ing "A client error happened"
Error in log:
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException: No route found for "GET /": Method Not Allowed (Allow: POST) in Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest() (line 148 of /var/code/drupal/vendor/symfony/http-kernel/EventListener/RouterListener.php).
I'm writing a module to adapt the user profile form. I managed to change everything the way I want by using hook_form_alter except the user picture. I want to hide the label and the file name, but did not find how to access these elements.
At 120 years old, Peninsula Regional Health System (PRHS), headquartered in Salisbury, Md., is the Delmarva region’s oldest health care institution. Experience in improving the community’s well-being is the provider’s specialty. Unfortunately, the centenarian’s web platform was also dated and in need of emergency care, so lifesaving Drupal 7 updates were required to be performed for a more streamlined, convenient content management system.
I am using Drupal 8 and the latest version of the Paragraphs Module
I am using the Paragraphs Module and any content I add as a Paragraph type is not being displayed on the public facing site.
All the content appears fine when I am in admin mode on Drupal 8. I have tried different themes and the content added as Paragraph types are not being displayed on those either. I have created articles and basic pages and they display fine.
It is a fresh install of Drupal 8 and Paragraphs with no settings changed.
I'm trying to use current user profile photo in my menu_account. So in my .theme file I've done this (Trying to get the {{ aa }}variable)
function application_preprocess_menu__account(&$variables) {
var_dump('aa');
$variables['aa'] = 'aaaa';
return $variables;
}
Var_dump is visible on the good place but {{ aa }} return me nothing. It look like I'm not able to render variable in this block. When I'm using application_preprocess the {{ aa }} variable is available.
I have Restfull webservices and serialization module activated.
After upgrade to Drupal 8.5, If I create a new view of content, active check "provide a rest service" and go to relative url to test it I receive always the error "A client error happened".
With the previous version of Drupal it worked without problems!
It seems that now the response is always an "html format": no json returns anymore.