Notice (8): Undefined variable: javascript [APP/views/layouts/default.ctp, line 127]

Fatal error: Uncaught Error: Call to a member function link() on null in /var/www/conoceralautor.es/app/views/layouts/default.ctp:127 Stack trace: #0 /var/www/conoceralautor.es/cake/libs/view/view.php(665): include() #1 /var/www/conoceralautor.es/cake/libs/view/view.php(453): View->_render('/var/www/conoce...', Array, false, true) #2 /var/www/conoceralautor.es/cake/libs/view/view.php(387): View->renderLayout('La url no se en...', 'default') #3 /var/www/conoceralautor.es/cake/libs/controller/controller.php(808): View->render('missingAction', 'default', NULL) #4 /var/www/conoceralautor.es/cake/libs/php_error.php(372): Controller->render('missingAction') #5 /var/www/conoceralautor.es/cake/libs/php_error.php(191): ErrorHandler->_outputMessage('missingAction') #6 /var/www/conoceralautor.es/cake/libs/cake_object.php(117): ErrorHandler->missingAction(Array) #7 /var/www/conoceralautor.es/cake/libs/php_error.php(117): CakeObject->dispatchMethod('missingAction', Array) #8 /var/www/conoceralautor.es/cake/libs/cake_object.php(202): E in /var/www/conoceralautor.es/app/views/layouts/default.ctp on line 127