php 致命错误:无法使用Drupal\views\Plugin\views\area\TokenizeAreaPluginBase作为TokenizeAreaPluginBase

zzlelutf  于 2023-06-21  发布在  PHP
关注(0)|答案(1)|浏览(97)

我在我的Drupal项目中遇到了一个致命的错误,需要帮助解决它。我收到的错误消息如下:

Fatal error: Cannot use Drupal\views\Plugin\views\area\TokenizeAreaPluginBase as TokenizeAreaPluginBase because the name is already in use in /var/www/html/golden/absolute_you/web/modules/contrib/views_add_button/src/Plugin/views/area/ViewsAddButtonArea.php on line 12

我不确定如何解决这个问题,并将感谢任何指导或见解。

w6lpcovy

w6lpcovy1#

你只需要更新composer:

composer update "drupal/views_add_button" --with-all-dependencies
drush updatedb
drush cache:rebuild```

相关问题