Drupal
Problem:
InvalidArgumentException: "alignment" is an invalid render array key. Value should be an array but got a string. in Drupal\Core\Render\Element::children() (Zeile 97 in /var/www/web/core/lib/Drupal/Core/Render/Element.php).
Solution?
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?
Seitennummerierung
- Vorherige Seite
- Seite 2
- Nächste Seite
Neueste Kommentare
/etc/my.cnf
Edit "/etc/my.cnf" ( under [mysqld] ):
transaction_isolation="READ-COMMITTED"
Restart MariaDB / MySQL:
Create Sub-Directories with WGET
wget -U 'Mozilla/MyUserAgent' -P MyTempDir123 --wait=0.2 --random-wait -nd -r -x -l 4 -e robots=off --reject
Ignore Binaries, JS, CSS etc
wget -U 'Mozilla/MyUserAgent2024' -P MyOutPutDirectory --wait=1 --random-wait -nd -r -l 2 -e robots=off --reject
Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz
# sysbench --threads="$(nproc)" cpu run
AMD Ryzen 7 PRO 3700 8-Core Processor
# sysbench --threads="$(nproc)" cpu run
Reload .bashrc without logging out
Diese Lösung wird empfohlen aber hat bei mir nicht funktioniert.
Welche Alternative gibt es?
Composer + PHP 8.3
ln -snf /opt/plesk/php/8.3/bin/php /etc/alternatives/php
composer.json
In composer.json, update:
Empty Flood Table
drush sqlq "DELETE FROM flood"
Gmail Apps (SMTP Login):…
Gmail Apps (SMTP Login):
https://security.google.com/settings/security/apppasswords