How to fix an error message issue of security upda

2019-08-19 12:57发布

问题:

I can see this error message on Drupal admin panel.

There is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates. There are security updates available for one or more of your modules or themes. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates.

I tried to no display error message on this page, Home » Administration » Configuration » Development

But I see this error message now. Is this a version update issue? It enables, please help me. Thanks

回答1:

The message is shown by the update module. For what I know there are no configuration to disable this message. It is shown just for the users with the administer site configuration permission.

I think the only solution is to disable the update module. If you use drush you can do:

drush pm-disable -y update

Usually in the development enviroment I keep enable the update module and I disable it in the production enviroment.



回答2:

You should update Drupal and/or your installed insecure modules instead of trying to "hide" the message.

Check available security updates with drush: drush pm-updatestatus --security-only