I noticed that I've got an error, when inserting images in the forum, this is since the update to the latest version.
Any help please?
Message:
SQLSTATE[42000]: Syntax error or access
violation: 1064 You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to
use near 'AND `type` = 'image' AND `userId` = 560' at line 1
File:
/var/www/virtual/belfort-group.eu/htdocs/ow_core/database.php
Line:
311
Trace:
#0 /var/www/virtual/belfort-group.eu/htdocs/ow_core/database.php(311): PDOStatement->execute()
#1 /var/www/virtual/belfort-group.eu/htdocs/ow_core/database.php(328): OW_Database->execute('SELECT COUNT(*)...', NULL)
#2 /var/www/virtual/belfort-group.eu/htdocs/ow_core/base_dao.php(101): OW_Database->queryForColumn('SELECT COUNT(*)...')
#3 /var/www/virtual/belfort-group.eu/htdocs/ow_system_plugins/base/bol/media_panel_file_dao.php(107): OW_BaseDao->countByExample(Object(OW_Example))
#4 /var/www/virtual/belfort-group.eu/htdocs/ow_system_plugins/base/bol/media_panel_service.php(89): BOL_MediaPanelFileDao->countGalleryImages(NULL, 560)
#5 /var/www/virtual/belfort-group.eu/htdocs/ow_system_plugins/base/controllers/media_panel.php(119): BOL_MediaPanelService->countGalleryImages(NULL, 560)
#6 /var/www/virtual/belfort-group.eu/htdocs/ow_system_plugins/base/controllers/media_panel.php(26): BASE_CTRL_MediaPanel->initMenu(Array)
#7 [internal function]: BASE_CTRL_MediaPanel->index(Array)
#8 /var/www/virtual/belfort-group.eu/htdocs/ow_core/dispatcher.php(257): ReflectionMethod->invokeArgs(Object(BASE_CTRL_MediaPanel), Array)
#9 /var/www/virtual/belfort-group.eu/htdocs/ow_core/application.php(293): OW_Dispatcher->dispatch()
#10 /var/www/virtual/belfort-group.eu/htdocs/index.php(65): OW_Application->dispatch()
#11 {main}
Type:
PDOException