Fatal error: Uncaught Exception:

- EC-MySQL-Error (1064):
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '_SELECT r.redirection_id, r.source_path, r.language_id, r.record_id AS target...' at line 1

- EC-MySQL-Statement:
_SELECT r.redirection_id, r.source_path, r.language_id, r.record_id AS target_product_id, p2.products_real_status AS target_products_real_status, pd.products_id, p.products_real_status FROM core_redirections r INNER JOIN products_description pd ON(pd.products_link = r.source_path AND pd.language_id = r.language_id) INNER JOIN products p ON(p.products_id = pd.products_id) LEFT JOIN products p2 ON(p2.products_id = r.record_id) WHERE r.record_type = 'product' LIMIT 100

- EC-MySQL-Function:
self::query

- EC-MySQL-Function called in:
1: Class Database::get in /www/htdocs/w00c6184/testshop/includes/classes/SeoUrls.php on line 1884 Args: (_SELECT r.redirection_id, r.source_path, r.language_id, r.record_id AS target_product_id, p2.products_real_status AS target_products_real_status, pd.products_id, p.products_real_status
FROM core_redirections r
INNER JOIN products_description pd ON(pd.products_link = r.source_path AND pd.language_id = r.language_id)
INNER JOIN products p ON(p.products_id = pd.products_id)
LEFT JOIN products p2 ON(p2.products_id = r.record_id)
WHERE r.record_type = 'product'
LIMIT 100)
2: Class Database::query in /www/htdocs/w00c6184/testshop/includes/classes/Database.php on line 237 Args: (_SELECT r.redirection_id, r.source_path, r.language_id, r.record_id AS target_product_id, p2.products_real_status AS target_products_real_status, pd.products_id, p.products_real_status
FROM core_redirections r
INNER JOIN products_description pd ON(pd.products_link = r.source_path AND pd.language_id = r.language_id)
INNER JOIN products p ON(p.products_id = pd.products_id)
LEFT JOIN products p2 ON(p2.products_id = r.record_id)
WHERE r.record_type = 'product'
LIMIT 100
, (bool)true)

in /www/htdocs/w00c6184/testshop/includes/classes/Database.php:282 Stack trace: #0 /www/htdocs/w00c6184/testshop/includes/classes/Database.php(237): Database::query('\r\n\t\t\t\t\t\t\t_SELEC...', true) #1 /www/htdocs/w00c6184/testshop/includes/classes/SeoUrls.php(1884): Database::get('\r\n\t\t\t\t\t\t\t_SELEC...') #2 /www/htdocs/w00c6184/testshop/index.php(18): SeoUrls::checkRedirectionConflicts() #3 {main} thrown in /www/htdocs/w00c6184/testshop/includes/classes/Database.php on line 282