Notice
Trying to access array offset on value of type bool
user/addons/shortlist/models/shortlist_list_model.php, line 930
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/core/Input.php, line 265
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/EllisLab/ExpressionEngine/Boot/boot.common.php, line 493
Exception - ExpressionEngine
Exception Caught
SQLSTATE[42000]: Syntax error or access violation: 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 'AND `list_id` IS NULL
AND `entry_id` = '213297'
AND `session_id` IN ('2b539c...' at line 3:
SELECT `item_id`
FROM (`exp_shortlist_item`)
WHERE AND `list_id` IS NULL
AND `entry_id` = '213297'
AND `session_id` IN ('2b539c56b87e53902eed62ffea334cffda9faace')
ee/legacy/database/drivers/mysqli/mysqli_connection.php:117
Stack Trace: Please include when reporting this error
- #0 ee/legacy/database/drivers/mysqli/mysqli_driver.php(112): CI_DB_mysqli_connection->query('SELECT `item_id...')
- #1 ee/legacy/database/DB_driver.php(270): CI_DB_mysqli_driver->_execute('SELECT `item_id...')
- #2 ee/legacy/database/DB_driver.php(180): CI_DB_driver->simple_query('SELECT `item_id...')
- #3 ee/legacy/database/DB_active_rec.php(1138): CI_DB_driver->query('SELECT `item_id...')
- #4 user/addons/shortlist/libraries/Shortlist_model.php(217): CI_DB_active_record->get('exp_shortlist_i...')
- #5 user/addons/shortlist/models/shortlist_item_model.php(176): Shortlist_model->get_some(Array, 'session_id')
- #6 user/addons/shortlist/models/shortlist_item_model.php(290): Shortlist_item_model->get_some('2b539c56b87e539...', 'session_id')
- #7 user/addons/shortlist/models/shortlist_item_model.php(761): Shortlist_item_model->get_all()
- #8 user/addons/shortlist/models/shortlist_item_model.php(609): Shortlist_item_model->_exists_by_id('213297', '')
- #9 user/addons/shortlist/mod.shortlist.php(916): Shortlist_item_model->remove(Array)
- #10 user/addons/shortlist/mod.shortlist.php(1430): Shortlist->shortlist_add_remove('remove')
- #11 ee/legacy/libraries/Actions.php(209): Shortlist->remove_from_shortlist()
- #12 ee/legacy/libraries/Core.php(549): EE_Actions->__construct(true, Object(Closure))
- #13 ee/legacy/controllers/ee.php(59): EE_Core->generate_action(true)
- #14 [internal function]: EE->index()
- #15 ee/EllisLab/ExpressionEngine/Core/Core.php(268): call_user_func_array(Array, Array)
- #16 ee/EllisLab/ExpressionEngine/Core/Core.php(118): EllisLab\ExpressionEngine\Core\Core->runController(Array)
- #17 ee/EllisLab/ExpressionEngine/Boot/boot.php(156): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
- #18 public_html/index.php(183): require_once('...')
- #18 public_html/index.php(183): require_once('...')