x/?|>z=BW1>=x/?|>u=BW1>=x/?|>@z=BW1>@=x/?|>@VD>BW1>=x/?|>0=BW1>=x/?|>`z=BW1>=x/?|>z=BW1>@=x/?|>z=BW1>=x/?|>=BW1>=x/?|>z=BW1>=x/?|>z=BW1>@=x/?|>{=BW1>=x/?|> {=BW1> public function quote($text, $escape = true); /** * Get the regular expression operator * * Usage: * $query->where('field ' . $query->regexp($search)); * * @param string $value The regex pattern. * * @return string * * @since 2.0.0 */ public function regexp($value) { return ' REGEXP ' . $value; } /** * Get the function to return a random floating-point value * * Usage: * $query->rand(); * * @return string * * @since 2.0.0 */ public function rand() { return ' RAND() '; } /** * Find a value in a varchar used like a set. * * Ensure that the value is an integer before passing to the method. * * Usage: * $query->findInSet((int) $parent->id, 'a.assigned_cat_ids') * * @param string $value The value to search for. * @param string $set The set of values. * * @return string A representation of the MySQL find_in_set() function for the driver. * * @since 2.0.0 */ public function findInSet($value, $set) { return ' find_in_set(' . $value . ', ' . $set . ')'; } /** * Return the number of the current row. * * Usage: * $query->select('id'); * $query->selectRowNumber('ordering,publish_up DESC', 'new_ordering'); * $query->from('#__content'); * * @param string $orderBy An expression of ordering for window function. * @param string $orderColumnAlias An alias for new ordering column. * * @return $this * * @since 2.0.0 * @throws \RuntimeException */ public function selectRowNumber($orderBy, $orderColumnAlias) { $this->validateRowNumber($orderBy, $orderColumnAlias); return $this->select("(SELECT @rownum := @rownum + 1 FROM (SELECT @rownum := 0) AS r) AS $orderColumnAlias"); } /** * Casts a value to a char. * * Ensure that the value is properly quoted before passing to the method. * * Usage: * $query->select($query->castAs('CHAR', 'a')); * * @param string $type The type of string to cast as. * @param string $value The value to cast as a char. * @param string $length The value to cast as a char. * * @return string SQL statement to cast the value as a char type. * * @since 1.0 */ public function castAs(string $type, string $value, ?string $length = null) { switch (strtoupper($type)) { case 'CHAR': if (!$length) { return $value; } else { return 'CAST(' . $value . ' AS CHAR(' . $length . '))'; } case 'INT': return '(' . $value . ' + 0)'; } return parent::castAs($type, $value, $length); } }
Fatal error: Trait "Joomla\Database\Query\MysqlQueryBuilder" not found in /datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/database/src/Mysqli/MysqliQuery.php on line 19
Attempted to load trait "MysqlQueryBuilder" from namespace "Joomla\Database\Query". Did you forget a "use" statement for another namespace? (500 Whoops, looks like something went wrong.)

ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load trait "MysqlQueryBuilder" from namespace "Joomla\Database\Query".
Did you forget a "use" statement for another namespace?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1. /**
  2.  * MySQLi Query Building Class.
  3.  *
  4.  * @since  1.0
  5.  */
  6. class MysqliQuery extends DatabaseQuery
  7. {
  8.     use MysqlQueryBuilder;
  9.     /**
  10.      * The list of zero or null representation of a datetime.

Stack Trace

ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load trait "MysqlQueryBuilder" from namespace "Joomla\Database\Query".
Did you forget a "use" statement for another namespace?

  at /datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/database/src/Mysqli/MysqliQuery.php:19