Problem:
Drupal "custom module" as "contrib module"
Translation file not found: https://ftp.drupal.org/files/translations/all/mymodule123/mymodule123-.de.po.
Lösung :
mymodule123.info.yml sollte weder 'version' noch 'project' beinhalten.
Problem:
Drupal "custom module" as "contrib module"
Translation file not found: https://ftp.drupal.org/files/translations/all/mymodule123/mymodule123-.de.po.
Lösung :
mymodule123.info.yml sollte weder 'version' noch 'project' beinhalten.
Install APCu
apt update
apt install plesk-php81-dev zlib1g-dev
/opt/plesk/php/8.1/bin/pecl install apcu
echo "extension=apcu.so" > /opt/plesk/php/8.1/etc/php.d/apcu.ini
plesk bin php_handler --reread
systemctl restart plesk-php81-fpm
Use:
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Database\Database;
use Drupal\Core\Link;
use Drupal\Core\Url;
use Drupal\Core\Language\Language;
Language Manager:
$languageManager = \Drupal::service('language_manager');
$language_de = $languageManager->getLanguage('de');
URL / Link as HTML:
Problem
/opt/plesk/php/8.1/bin/pecl install apcu
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading apcu-5.1.23.tgz ...
Starting to download apcu-5.1.23.tgz (90,897 bytes)
.....................done: 90,897 bytes
44 source files, building
running: phpize
sh: 1: phpize: not found
ERROR: `phpize' failed
Lösung?
Error:
drush cim --partial --source=web/modules/module1/config/install/
[error] The source directory does not exist. The source is not a directory.
Provider client error
Nachricht Symfony \ Component \ HttpKernel \ Exception \ BadRequestHttpException: The theme must be passed as a query argument in Drupal \ system \ Controller \ AssetControllerBase->deliver() (Zeile 132 in web / core / modules / system / src / Controller / AssetControllerBase.php).
Schweregrad Fehler
Windows + R >> services.msc >> AnyDesk Service >> Properties >> Starttyp:Manuell
Error:
Drupal\search_api_solr\SearchApiSolrException while maintaining Solr server Solr Server: Solr endpoint http://localhost:8983/ internal Solr server error (code: 500, body: { "error":{ "msg":"Document contains at least one immense term in field=\"exacttext\" (whose UTF8 encoding is longer than the max length 32766),
Error:
Error:
Drupal\Core\Entity\EntityStorageException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xC3\xB6H' for column `mysite`.`watchdog`.`type` at row 1: INSERT INTO "watchdog" ("uid", "type", "message", "variables", "severity", "link", "location", "referer", "hostname", "timestamp") VALUES
Was ist die Lösung?