pessoal, do nada meu sistema parou de funcionar, acho q atualizou a versao do php, alguem tem uma luz de como corrigir isso
eu pesquisei na internet e fala que é a versao do php mesmo
por exemplo, diz que esse comando aqui:
compact( 
$var_names = 'rel', 
'type', 
'href', 
'media', 
'conditionalStylesheet', 
'extras' ) 
 
não é mais assim, mas fui olhar no codigo e está compatível com o php8, pq no codigo está assim 
compact(
'rel', 
'type', 
'href', 
'media', 
'conditionalStylesheet', 
'extras' ) 
e não como diz ali no erro, alguem teve esse problema?
| ( ! ) Notice: compact(): Undefined variable: extras in C:\wamp64\www\zfartesao3\library\Zend\View\Helper\HeadLink.php on line 393 | 
| Call Stack | 
| # | Time | Memory | Function | Location | 
| 1 | 0.0001 | 361648 | {main}(  ) | ...\index.php:0 | 
| 2 | 0.0023 | 405336 | Zend_Application->bootstrap( $resource = ??? ) | ...\index.php:25 | 
| 3 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->bootstrap( $resource = NULL ) | ...\Application.php:355 | 
| 4 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap( $resource = NULL ) | ...\BootstrapAbstract.php:586 | 
| 5 | 0.0078 | 707064 | Zend_Application_Bootstrap_BootstrapAbstract->_executeResource( $resource = 'view' ) | ...\BootstrapAbstract.php:622 | 
| 6 | 0.0078 | 707064 | Bootstrap->_initView(  ) | ...\BootstrapAbstract.php:669 | 
| 7 | 0.0084 | 804816 | Zend_View_Helper_HeadLink->appendStylesheet( '/zfartesao3/public/css/themes/blue/style.css', 'screen' ) | ...\Bootstrap.php:31 | 
| 8 | 0.0084 | 805192 | Zend_View_Helper_HeadLink->__call( $method = 'appendStylesheet', $args = [0 => '/zfartesao3/public/css/themes/blue/style.css', 1 => 'screen'] ) | ...\Bootstrap.php:31 | 
| 9 | 0.0084 | 805864 | Zend_View_Helper_HeadLink->createDataStylesheet( $args = [0 => '/zfartesao3/public/css/themes/blue/style.css', 1 => 'screen'] ) | ...\HeadLink.php:164 | 
| 10 | 0.0084 | 806272 | compact( $var_names = 'rel', 'type', 'href', 'media', 'conditionalStylesheet', 'extras' ) | ...\HeadLink.php:393 | 
| ( ! ) Notice: compact(): Undefined variable: extras in C:\wamp64\www\zfartesao3\library\Zend\View\Helper\HeadLink.php on line 393 | 
| Call Stack | 
| # | Time | Memory | Function | Location | 
| 1 | 0.0001 | 361648 | {main}(  ) | ...\index.php:0 | 
| 2 | 0.0023 | 405336 | Zend_Application->bootstrap( $resource = ??? ) | ...\index.php:25 | 
| 3 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->bootstrap( $resource = NULL ) | ...\Application.php:355 | 
| 4 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap( $resource = NULL ) | ...\BootstrapAbstract.php:586 | 
| 5 | 0.0078 | 707064 | Zend_Application_Bootstrap_BootstrapAbstract->_executeResource( $resource = 'view' ) | ...\BootstrapAbstract.php:622 | 
| 6 | 0.0078 | 707064 | Bootstrap->_initView(  ) | ...\BootstrapAbstract.php:669 | 
| 7 | 0.0165 | 807352 | Zend_View_Helper_HeadLink->appendStylesheet( '/zfartesao3/public/css/themes/blue/form.css', 'screen' ) | ...\Bootstrap.php:32 | 
| 8 | 0.0165 | 807728 | Zend_View_Helper_HeadLink->__call( $method = 'appendStylesheet', $args = [0 => '/zfartesao3/public/css/themes/blue/form.css', 1 => 'screen'] ) | ...\Bootstrap.php:32 | 
| 9 | 0.0165 | 808400 | Zend_View_Helper_HeadLink->createDataStylesheet( $args = [0 => '/zfartesao3/public/css/themes/blue/form.css', 1 => 'screen'] ) | ...\HeadLink.php:164 | 
| 10 | 0.0165 | 808808 | compact( $var_names = 'rel', 'type', 'href', 'media', 'conditionalStylesheet', 'extras' ) | ...\HeadLink.php:393 | 
| ( ! ) Notice: compact(): Undefined variable: extras in C:\wamp64\www\zfartesao3\library\Zend\View\Helper\HeadLink.php on line 393 | 
| Call Stack | 
| # | Time | Memory | Function | Location | 
| 1 | 0.0001 | 361648 | {main}(  ) | ...\index.php:0 | 
| 2 | 0.0023 | 405336 | Zend_Application->bootstrap( $resource = ??? ) | ...\index.php:25 | 
| 3 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->bootstrap( $resource = NULL ) | ...\Application.php:355 | 
| 4 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap( $resource = NULL ) | ...\BootstrapAbstract.php:586 | 
| 5 | 0.0078 | 707064 | Zend_Application_Bootstrap_BootstrapAbstract->_executeResource( $resource = 'view' ) | ...\BootstrapAbstract.php:622 | 
| 6 | 0.0078 | 707064 | Bootstrap->_initView(  ) | ...\BootstrapAbstract.php:669 | 
| 7 | 0.0260 | 807848 | Zend_View_Helper_HeadLink->appendStylesheet( '/zfartesao3/public/css/themes/blue/cssmenu.css', 'screen' ) | ...\Bootstrap.php:33 | 
| 8 | 0.0260 | 808224 | Zend_View_Helper_HeadLink->__call( $method = 'appendStylesheet', $args = [0 => '/zfartesao3/public/css/themes/blue/cssmenu.css', 1 => 'screen'] ) | ...\Bootstrap.php:33 | 
| 9 | 0.0260 | 808896 | Zend_View_Helper_HeadLink->createDataStylesheet( $args = [0 => '/zfartesao3/public/css/themes/blue/cssmenu.css', 1 => 'screen'] ) | ...\HeadLink.php:164 | 
| 10 | 0.0261 | 809304 | compact( $var_names = 'rel', 'type', 'href', 'media', 'conditionalStylesheet', 'extras' ) | ...\HeadLink.php:393 | 
| ( ! ) Notice: compact(): Undefined variable: extras in C:\wamp64\www\zfartesao3\library\Zend\View\Helper\HeadLink.php on line 393 | 
| Call Stack | 
| # | Time | Memory | Function | Location | 
| 1 | 0.0001 | 361648 | {main}(  ) | ...\index.php:0 | 
| 2 | 0.0023 | 405336 | Zend_Application->bootstrap( $resource = ??? ) | ...\index.php:25 | 
| 3 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->bootstrap( $resource = NULL ) | ...\Application.php:355 | 
| 4 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap( $resource = NULL ) | ...\BootstrapAbstract.php:586 | 
| 5 | 0.0078 | 707064 | Zend_Application_Bootstrap_BootstrapAbstract->_executeResource( $resource = 'view' ) | ...\BootstrapAbstract.php:622 | 
| 6 | 0.0078 | 707064 | Bootstrap->_initView(  ) | ...\BootstrapAbstract.php:669 | 
| 7 | 0.0365 | 808344 | Zend_View_Helper_HeadLink->appendStylesheet( '/zfartesao3/public/css/themes/blue/base.css', 'screen' ) | ...\Bootstrap.php:34 | 
| 8 | 0.0365 | 808720 | Zend_View_Helper_HeadLink->__call( $method = 'appendStylesheet', $args = [0 => '/zfartesao3/public/css/themes/blue/base.css', 1 => 'screen'] ) | ...\Bootstrap.php:34 | 
| 9 | 0.0366 | 809392 | Zend_View_Helper_HeadLink->createDataStylesheet( $args = [0 => '/zfartesao3/public/css/themes/blue/base.css', 1 => 'screen'] ) | ...\HeadLink.php:164 | 
| 10 | 0.0366 | 809800 | compact( $var_names = 'rel', 'type', 'href', 'media', 'conditionalStylesheet', 'extras' ) | ...\HeadLink.php:393 | 
| ( ! )
 Deprecated: array_key_exists(): Using array_key_exists() on objects is 
deprecated. Use isset() or property_exists() instead in 
C:\wamp64\www\zfartesao3\library\Zend\Registry.php on line 206 | 
| Call Stack | 
| # | Time | Memory | Function | Location | 
| 1 | 0.0001 | 361648 | {main}(  ) | ...\index.php:0 | 
| 2 | 0.0023 | 405336 | Zend_Application->bootstrap( $resource = ??? ) | ...\index.php:25 | 
| 3 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->bootstrap( $resource = NULL ) | ...\Application.php:355 | 
| 4 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap( $resource = NULL ) | ...\BootstrapAbstract.php:586 | 
| 5 | 0.0494 | 929424 | Zend_Application_Bootstrap_BootstrapAbstract->_executeResource( $resource = 'layout' ) | ...\BootstrapAbstract.php:626 | 
| 6 | 0.0494 | 929424 | Zend_Application_Resource_Layout->init(  ) | ...\BootstrapAbstract.php:683 | 
| 7 | 0.0494 | 929424 | Zend_Application_Resource_Layout->getLayout(  ) | ...\Layout.php:55 | 
| 8 | 0.0494 | 929424 | Zend_Layout::startMvc( $options = ['layoutPath' => 'C:\\wamp64\\www\\zfartesao3\\application/layouts/scripts/'] ) | ...\Layout.php:66 | 
| 9 | 0.0494 | 929760 | Zend_Layout->__construct( $options = ['layoutPath' => 'C:\\wamp64\\www\\zfartesao3\\application/layouts/scripts/'], $initMvc = TRUE ) | ...\Layout.php:176 | 
| 10 | 0.0495 | 929760 | Zend_Layout->_initVarContainer(  ) | ...\Layout.php:157 | 
| 11 | 0.0495 | 929760 | Zend_View_Helper_Placeholder_Registry::getRegistry(  ) | ...\Layout.php:320 | 
| 12 | 0.0495 | 929760 | Zend_Registry::isRegistered( $index = 'Zend_View_Helper_Placeholder_Registry' ) | ...\Registry.php:67 | 
| 13 | 0.0495 | 929760 | Zend_Registry->offsetExists( $index = 'Zend_View_Helper_Placeholder_Registry' ) | ...\Registry.php:183 | 
| ( ! )
 Deprecated: array_key_exists(): Using array_key_exists() on objects is 
deprecated. Use isset() or property_exists() instead in 
C:\wamp64\www\zfartesao3\library\Zend\Registry.php on line 206 | 
| Call Stack | 
| # | Time | Memory | Function | Location | 
| 1 | 0.0001 | 361648 | {main}(  ) | ...\index.php:0 | 
| 2 | 0.0023 | 405336 | Zend_Application->bootstrap( $resource = ??? ) | ...\index.php:25 | 
| 3 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->bootstrap( $resource = NULL ) | ...\Application.php:355 | 
| 4 | 0.0023 | 405336 | Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap( $resource = NULL ) | ...\BootstrapAbstract.php:586 | 
| 5 | 0.0494 | 929424 | Zend_Application_Bootstrap_BootstrapAbstract->_executeResource( $resource = 'layout' ) | ...\BootstrapAbstract.php:626 | 
| 6 | 0.0494 | 929424 | Zend_Application_Resource_Layout->init(  ) | ...\BootstrapAbstract.php:683 | 
| 7 | 0.0494 | 929424 | Zend_Application_Resource_Layout->getLayout(  ) | ...\Layout.php:55 | 
| 8 | 0.0494 | 929424 | Zend_Layout::startMvc( $options = ['layoutPath' => 'C:\\wamp64\\www\\zfartesao3\\application/layouts/scripts/'] ) | ...\Layout.php:66 | 
| 9 | 0.0494 | 929760 | Zend_Layout->__construct( $options = ['layoutPath' => 'C:\\wamp64\\www\\zfartesao3\\application/layouts/scripts/'], $initMvc = TRUE ) | ...\Layout.php:176 | 
| 10 | 0.0495 | 929760 | Zend_Layout->_initVarContainer(  ) | ...\Layout.php:157 | 
| 11 | 0.0495 | 929760 | Zend_View_Helper_Placeholder_Registry::getRegistry(  ) | ...\Layout.php:320 | 
| 12 | 0.0606 | 929760 | Zend_Registry::get( $index = 'Zend_View_Helper_Placeholder_Registry' ) | ...\Registry.php:68 | 
| 13 | 0.0606 | 929760 | Zend_Registry->offsetExists( $index = 'Zend_View_Helper_Placeholder_Registry' ) | ...\Registry.php:145 | 
| ( ! )
 Deprecated: array_key_exists(): Using array_key_exists() on objects is 
deprecated. Use isset() or property_exists() instead in 
C:\wamp64\www\zfartesao3\library\Zend\Registry.php on line 206 | 
| Call Stack | 
| # | Time | Memory | Function | Location | 
| 1 | 0.0001 | 361648 | {main}(  ) | ...\index.php:0 | 
| 2 | 0.0720 | 932704 | Zend_Application->run(  ) | ...\index.php:26 | 
| 3 | 0.0720 | 932704 | Zend_Application_Bootstrap_Bootstrap->run(  ) | ...\Application.php:366 | 
| 4 | 0.0720 | 932704 | Zend_Application_Bootstrap_BootstrapAbstract->getResource( $name = 'FrontController' ) | ...\Bootstrap.php:88 | 
| 5 | 0.0720 | 932744 | Zend_Application_Bootstrap_BootstrapAbstract->hasResource( $name = 'frontcontroller' ) | ...\BootstrapAbstract.php:540 | 
| 6 | 0.0720 | 932744 | Zend_Registry->offsetExists( $index = 'frontcontroller' ) | ...\BootstrapAbstract.php:521 | 
| ( ! )
 Warning: ini_set(): Headers already sent. You cannot change the session
 module's ini settings at this time in 
C:\wamp64\www\zfartesao3\library\Zend\Session.php on line 205 | 
| Call Stack | 
| # | Time | Memory | Function | Location | 
| 1 | 0.0001 | 361648 | {main}(  ) | ...\index.php:0 | 
| 2 | 0.0720 | 932704 | Zend_Application->run(  ) | ...\index.php:26 | 
| 3 | 0.0720 | 932704 | Zend_Application_Bootstrap_Bootstrap->run(  ) | ...\Application.php:366 | 
| 4 | 0.0783 | 933080 | Zend_Controller_Front->dispatch( $request = ???, $response = ??? ) | ...\Bootstrap.php:97 | 
| 5 | 0.0786 | 1024816 | Zend_Controller_Plugin_Broker->preDispatch( $request = class
 Zend_Controller_Request_Http { protected $_paramSources = [0 => 
'_GET', 1 => '_POST']; protected $_requestUri = 
'/zfartesao3/public/'; protected $_baseUrl = '/zfartesao3/public'; 
protected $_basePath = NULL; protected $_pathInfo = '/'; protected 
$_params = ['controller' => 'index', 'action' => 'index', 'module'
 => 'default']; protected $_rawBody = NULL; protected $_aliases = [];
 protected $_dispatched = TRUE; protected $_module = 'default'; 
protected $_moduleKey = 'module'; protected $_controller = 'index'; 
protected $_controllerKey = 'controller'; protected $_action = 'index'; 
protected $_actionKey = 'action' } ) | ...\Front.php:941 | 
| 6 | 0.0786 | 1024816 | Application_Plugin_ACL->preDispatch( $request = class
 Zend_Controller_Request_Http { protected $_paramSources = [0 => 
'_GET', 1 => '_POST']; protected $_requestUri = 
'/zfartesao3/public/'; protected $_baseUrl = '/zfartesao3/public'; 
protected $_basePath = NULL; protected $_pathInfo = '/'; protected 
$_params = ['controller' => 'index', 'action' => 'index', 'module'
 => 'default']; protected $_rawBody = NULL; protected $_aliases = [];
 protected $_dispatched = TRUE; protected $_module = 'default'; 
protected $_moduleKey = 'module'; protected $_controller = 'index'; 
protected $_controllerKey = 'controller'; protected $_action = 'index'; 
protected $_actionKey = 'action' } ) | ...\Broker.php:309 | 
| 7 | 0.0787 | 1024888 | Zend_Auth->hasIdentity(  ) | ...\ACL.php:509 | 
| 8 | 0.0787 | 1024888 | Zend_Auth->getStorage(  ) | ...\Auth.php:141 | 
| 9 | 0.0787 | 1031856 | Zend_Auth_Storage_Session->__construct( $namespace = ???, $member = ??? ) | ...\Auth.php:91 | 
| 10 | 0.0787 | 1031936 | Zend_Session_Namespace->__construct( $namespace = 'Zend_Auth', $singleInstance = ??? ) | ...\Session.php:87 | 
| 11 | 0.0787 | 1031936 | Zend_Session::start( $options = TRUE ) | ...\Namespace.php:143 | 
| 12 | 0.0788 | 1031936 | Zend_Session::setOptions( $userOptions = [] ) | ...\Session.php:437 | 
| 13 | 0.0788 | 1031992 | ini_set( $varname = 'session.use_only_cookies', $newvalue = 'on' ) | ...\Session.php:205 | 
| ( ! )
 Fatal error: Uncaught Zend_Session_Exception: Session must be started 
before any output has been sent to the browser; output started in 
C:\wamp64\www\zfartesao3\library\Zend\View\Helper\HeadLink.php/393 in 
C:\wamp64\www\zfartesao3\library\Zend\Controller\Plugin\Broker.php on 
line 312 | 
| ( ! )
 Zend_Controller_Exception: Session must be started before any output 
has been sent to the browser; output started in 
C:\wamp64\www\zfartesao3\library\Zend\View\Helper\HeadLink.php/393#0 
C:\wamp64\www\zfartesao3\library\Zend\Session\Namespace.php(143): 
Zend_Session::start(true)
#1 C:\wamp64\www\zfartesao3\library\Zend\Auth\Storage\Session.php(87): 
Zend_Session_Namespace->__construct('Zend_Auth')
#2 C:\wamp64\www\zfartesao3\library\Zend\Auth.php(91): 
Zend_Auth_Storage_Session->__construct()
#3 C:\wamp64\www\zfartesao3\library\Zend\Auth.php(141): 
Zend_Auth->getStorage()
#4 C:\wamp64\www\zfartesao3\application\plugins\ACL.php(509): 
Zend_Auth->hasIdentity()
#5 
C:\wamp64\www\zfartesao3\library\Zend\Controller\Plugin\Broker.php(309):
 
Application_Plugin_ACL->preDispatch(Object(Zend_Controller_Request_Http))
#6 C:\wamp64\www\zfartesao3\library\Zend\Controller\Front.php(941): 
Zend_Controller_Plugin_Broker->preDispatch(Object(Zend_Controller_Request_Http))
#7 
C:\wamp64\www\zfartesao3\library\Zend\Application\Bootstrap\Bootstrap.php(97):
 Zend_Controller_Front->dispatch()
#8 C:\wamp64\www\zfartesao3\library\Zend\Application.php(366): 
Zend_Application_Bootstrap_Bootstrap->run()
#9 C:\wamp64\www\zfartesao3\public\index.php(26): 
Zend_Application->run()
#10 {main} in 
C:\wamp64\www\zfartesao3\library\Zend\Controller\Plugin\Broker.php on 
line 312 | 
| Call Stack | 
| # | Time | Memory | Function | Location | 
| 1 | 0.0001 | 361648 | {main}(  ) | ...\index.php:0 | 
| 2 | 0.0720 | 932704 | Zend_Application->run(  ) | ...\index.php:26 | 
| 3 | 0.0720 | 932704 | Zend_Application_Bootstrap_Bootstrap->run(  ) | ...\Application.php:366 | 
| 4 | 0.0783 | 933080 | Zend_Controller_Front->dispatch( $request = ???, $response = ??? ) | ...\Bootstrap.php:97 |