Solution:
if( \Drupal::currentUser()->hasPermission('create article content') )
{
// ...
}
Solution:
if( \Drupal::currentUser()->hasPermission('create article content') )
{
// ...
}
Code:
$current_user = \Drupal::currentUser();
$roles = $current_user->getRoles();
// print_r( $roles );
drush st [OR]
drush uri
Site URI : http://default
How to update "Site URI"?
Problem:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "audit" is not defined.
Problem:
Symfony\Component\Routing\Exception\MissingMandatoryParametersException:
Some mandatory parameters are missing ("identifier", "bundle") to generate a URL for route "shs.term_data". in
Drupal\Core\Routing\UrlGenerator->doGenerate() (Zeile 187 in web/core/lib/Drupal/Core/Routing/UrlGenerator.php).Lösung (tmp):
Issue:
DatabaseExceptionWrapper while computing Views data for index Paragraphs demo index: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction: INSERT INTO "cache_config"Solution?
Neueste Kommentare
Wildcard
Let’s Encrypt will only accept a wildcard via DNS challenge.
If your Plesk instance can’t create the _acme-challenge.example.com TXT (external DNS), the extension can’t complete validation and will show no success.
Same problem
Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup()set-timezone Europe/Berlin
sudo timedatectl set-timezone Europe/BerlinTry this:1. Go to Tools &…
Try this:
Alternative (without warnings like "no crontab for user")
Alternative (without warnings like "no crontab for dovecot") to see all tasks:
php 8.3 apcu
php 8.3 apcu failed
über Plesk hat es geklappt.
phpize failed error?
install:
# sudo apt install php-devphpize
# sudo apt install…
phpize
# sudo apt install php-devdetails
Problem:
/opt/plesk/php/8.3…
Problem:
Problem:PHP APCu caching…
Problem: