iam using ZF 1.11.x on my local machine (osx) everything works like excepted, but when i deploy my application to the production server an error occures:
mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'Zend_View_Helper_Placeholder_Container_Exception' with message 'Cannot nest headScript captures' in /var/www/virtual/website/library/Zend/View/Helper/HeadScript.php:146
Iam using the viewHelper to set some variables inside my layout.phtml. I can fix it by putting them just in script tags but i like to know why this error happens..