ERROR MESSAGE : SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction
ERROR CODE : 40001
ACE\Exception Object
(
    [message:protected] => ACE\Exception: PDO Database Error : SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in /ace/library/core/database.class.php:108
Stack trace:
#0 /ace/library/apps/aceweb/models/search.class.php(266): ACE\Database->doExecute()
#1 /ace/library/apps/aceweb/models/search.class.php(186): ACE\model_Search->doGenerate()
#2 /ace/library/apps/aceweb/controllers/product/view.class.php(209): ACE\model_Search::doSearch()
#3 /ace/library/apps/aceweb/controllers/aceweb.class.php(31): ACE\Controller_product_view->doExecuteACEWEB()
#4 /ace/library/core/controller.class.php(129): ACE\Controller_ACEWEB->doExecute()
#5 /ace/library/core/dispatcher.class.php(35): ACE\Controller->doProcess()
#6 /ace/library/core/bootstrap.inc.php(49): ACE\Dispatcher->doExecute()
#7 /ace/www/index.php(7): include_once('...')
#8 {main}
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /ace/library/core/dispatcher.class.php
    [line:protected] => 50
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /ace/library/core/bootstrap.inc.php
                    [line] => 49
                    [function] => doExecute
                    [class] => ACE\Dispatcher
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /ace/www/index.php
                    [line] => 7
                    [args] => Array
                        (
                            [0] => /ace/library/core/bootstrap.inc.php
                        )

                    [function] => include_once
                )

        )

    [previous:Exception:private] => 
)
Caught exception: ACE\Exception: PDO Database Error : SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in /ace/library/core/database.class.php:108 Stack trace: #0 /ace/library/apps/aceweb/models/search.class.php(266): ACE\Database->doExecute() #1 /ace/library/apps/aceweb/models/search.class.php(186): ACE\model_Search->doGenerate() #2 /ace/library/apps/aceweb/controllers/product/view.class.php(209): ACE\model_Search::doSearch() #3 /ace/library/apps/aceweb/controllers/aceweb.class.php(31): ACE\Controller_product_view->doExecuteACEWEB() #4 /ace/library/core/controller.class.php(129): ACE\Controller_ACEWEB->doExecute() #5 /ace/library/core/dispatcher.class.php(35): ACE\Controller->doProcess() #6 /ace/library/core/bootstrap.inc.php(49): ACE\Dispatcher->doExecute() #7 /ace/www/index.php(7): include_once('...') #8 {main}
Rolling Back Database