Warning (512): Could not render cell - The "works" table does not define a primary key, and cannot have join conditions generated. [/home/debian/discov4/vendor/cakephp/cakephp/src/ORM/Association.php, line 1364] [CORE/src/View/Cell.php, line 258]Code Context } catch (Exception $e) { trigger_error(sprintf('Could not render cell - %s [%s, line %d]', $e->getMessage(), $e->getFile(), $e->getLine()), E_USER_WARNING); $e = object(RuntimeException) { [protected] message => 'The "works" table does not define a primary key, and cannot have join conditions generated.' [protected] code => (int) 0 [protected] file => '/home/debian/discov4/vendor/cakephp/cakephp/src/ORM/Association.php' [protected] line => (int) 1364 }Cake\View\Cell::__toString() - CORE/src/View/Cell.php, line 258 include - APP/Template/Element/menupage.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Layout/pages.ctp, line 49 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 939 Cake\View\View::render() - CORE/src/View/View.php, line 897 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
} catch (Exception $e) { trigger_error(sprintf('Could not render cell - %s [%s, line %d]', $e->getMessage(), $e->getFile(), $e->getLine()), E_USER_WARNING);
} catch (Exception $e) {
trigger_error(sprintf('Could not render cell - %s [%s, line %d]', $e->getMessage(), $e->getFile(), $e->getLine()), E_USER_WARNING);
$e = object(RuntimeException) { [protected] message => 'The "works" table does not define a primary key, and cannot have join conditions generated.' [protected] code => (int) 0 [protected] file => '/home/debian/discov4/vendor/cakephp/cakephp/src/ORM/Association.php' [protected] line => (int) 1364 }
Cake\View\Cell::__toString() - CORE/src/View/Cell.php, line 258 include - APP/Template/Element/menupage.ctp, line 82 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Layout/pages.ctp, line 49 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 939 Cake\View\View::render() - CORE/src/View/View.php, line 897 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65