Message d'erreur

  • Deprecated function: Return type of DatabaseStatementBase::execute($args = [], $options = []) should either be compatible with PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2244 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in drupal_random_bytes() (line 2268 of /home/laurentp/www/includes/bootstrap.inc).
  • Deprecated function: Optional parameter $type declared before required parameter $key is implicitly treated as a required parameter in include_once() (line 1389 of /home/laurentp/www/includes/bootstrap.inc).
  • Deprecated function: Return type of DateObject::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /home/laurentp/www/sites/all/modules/date/date_api/date_api.module).
  • Deprecated function: Return type of DateObject::format($format, $force = false) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /home/laurentp/www/sites/all/modules/date/date_api/date_api.module).
  • Deprecated function: Return type of DateObject::setTimezone($tz, $force = false) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /home/laurentp/www/sites/all/modules/date/date_api/date_api.module).
  • Deprecated function: Optional parameter $input declared before required parameter $form_state is implicitly treated as a required parameter in include_once() (line 1389 of /home/laurentp/www/includes/bootstrap.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : rtrim(): Passing null to parameter #1 ($string) of type string is deprecated dans url() (ligne 2349 dans /home/laurentp/www/includes/common.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property PDOException::$query_string is deprecated dans DatabaseConnection->query() (ligne 770 dans /home/laurentp/www/includes/database/database.inc).
  • Deprecated function : Creation of dynamic property PDOException::$args is deprecated dans DatabaseConnection->query() (ligne 772 dans /home/laurentp/www/includes/database/database.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated dans url_is_external() (ligne 2393 dans /home/laurentp/www/includes/common.inc).
  • Deprecated function : str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated dans url_is_external() (ligne 2395 dans /home/laurentp/www/includes/common.inc).
  • Deprecated function : ltrim(): Passing null to parameter #1 ($string) of type string is deprecated dans url() (ligne 2311 dans /home/laurentp/www/includes/common.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).

Installer la traduction avant le module Drupal

Voici l'expérience du jour.
Quand on installe un fichier de traduction d'un module Drupal après le module il reste toujours un certain nombre de chaines non traduites.
Pour y remédier il faut installer le fichier traduction avant l'installation du module. En effet il semble que si on installe le fichier traduction après le module les chaines incluses
dans les fichiers '.install" du module ne soient pas traduites. Cela est prouvé en installant le module , puis la traduction, on constate que des chaines ne sont pas traduites, puis on désinstalle le module, puis on le réinstalle, et là les chaines non traduites le deviennent.

Ceci correspond à la fonction de l'API Drupal 'get_t()' qui contrairement à 't()' ne semble autoriser les traductions que si le fichier de traduction est installé avant le module.

Uncaught exception thrown in session handler.

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'laurentpabcm'@'10.2.20.46' for table 'drupclonesessions': INSERT INTO {sessions} (sid, ssid, uid, cache, hostname, session, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => S9sNY3Z9daZLiPjkeLTClIiv46N5gxu4qyl-1P1bpZs [:db_insert_placeholder_1] => S9sNY3Z9daZLiPjkeLTClIiv46N5gxu4qyl-1P1bpZs [:db_insert_placeholder_2] => 0 [:db_insert_placeholder_3] => 0 [:db_insert_placeholder_4] => 3.144.102.237 [:db_insert_placeholder_5] => messages|a:1:{s:5:"error";a:6:{i:0;s:300:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property SelectQuery::$alterTags is deprecated dans <em class="placeholder">SelectQuery->addTag()</em> (ligne <em class="placeholder">978</em> dans <em class="placeholder">/home/laurentp/www/includes/database/select.inc</em>).";i:1;s:317:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans <em class="placeholder">DatabaseCondition->compile()</em> (ligne <em class="placeholder">1865</em> dans <em class="placeholder">/home/laurentp/www/includes/database/query.inc</em>).";i:2;s:317:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans <em class="placeholder">DatabaseCondition->compile()</em> (ligne <em class="placeholder">1865</em> dans <em class="placeholder">/home/laurentp/www/includes/database/query.inc</em>).";i:3;s:300:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property SelectQuery::$alterTags is deprecated dans <em class="placeholder">SelectQuery->addTag()</em> (ligne <em class="placeholder">978</em> dans <em class="placeholder">/home/laurentp/www/includes/database/select.inc</em>).";i:4;s:317:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans <em class="placeholder">DatabaseCondition->compile()</em> (ligne <em class="placeholder">1865</em> dans <em class="placeholder">/home/laurentp/www/includes/database/query.inc</em>).";i:5;s:317:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans <em class="placeholder">DatabaseCondition->compile()</em> (ligne <em class="placeholder">1865</em> dans <em class="placeholder">/home/laurentp/www/includes/database/query.inc</em>).";}} [:db_insert_placeholder_6] => 1722053667 ) in _drupal_session_write() (line 209 of /home/laurentp/www/includes/session.inc).