Error messages are here.
Please tell me how to resolve this errors.
# /usr/bin/php /var/www/zfcli.php -m mypage -c index -a index
Strict Standards: Declaration of SmartyPlugin::dispatchLoopStartup() should be compatible with Zend_Controller_Plugin_Abstract::dispatchLoopStartup(Zend_Controller_Request_Abstract $request) in /var/www/application/plugins/SmartyPlugin.php on line 22
Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Session must be started before any output has been sent to the browser; output started in /var/www/application/plugins/SmartyPlugin.php/22' in /var/www/library/Zend/Session.php:443
Stack trace:
#0 /var/www/library/Zend/Session/Namespace.php(143): Zend_Session::start(true)
#1 /var/www/application/Bootstrap.php(95): Zend_Session_Namespace->__construct('Default')
#2 /var/www/library/Zend/Application/Bootstrap/BootstrapAbstract.php(669): Bootstrap->_initSession()
#3 /var/www/library/Zend/Application/Bootstrap/BootstrapAbstract.php(622): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('session')
#4 /var/www/library/Zend/Application/Bootstrap/BootstrapAbstract.php(586): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL)
#5 /var/www/library/Zend/Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(NULL)
#6 /var/www/zfcli.php(56): Zend_Application->bootstrap()
#7 {main}
thrown in /var/www/library/Zend/Session.php on line 443
Related
yesterday upgraded php from 5.5 to 8.1, it gave me this error:
Fatal error: Uncaught TypeError: xml_parse(): Argument #1 ($parser) must be of type XMLParser, null given in /var/www/html/app/library/xmlrpc/xmlRpcClient.php:90 Stack trace: #0 /var/www/html/app/library/xmlrpc/xmlRpcClient.php(90): xml_parse() #1 /var/www/html/app/library/xmlrpc/xmlRpcClient.php(151): XML->parse() #2 /var/www/html/app/library/xmlrpc/xmlRpcClient.php(397): XML_unserialize() #3 /var/www/html/app/controller.php(271): XMLRPC_request() #4 /var/www/html/app/style/aura/index.php(450): include('...') #5 /var/www/html/app/index.html.php(25): include_once('...') #6 /var/www/html/app/index.php(177): require_once('...') #7 {main} thrown in /var/www/html/app/library/xmlrpc/xmlRpcClient.php on line 90
I've fixed some code, but i'm afraid need to update library. How can do it from command line or anyhow quickly?
I upgraded my prestashop website from 1.6.0.13 to 1.6.1.23 . And it successfully upgraded. But i cant see my front end now . It always shows some error messages. But my backoffice is running smoothly.
error log is given below
Fatal error: Uncaught exception 'Exception' with message
'DateTimeZone::__construct(): Unknown or bad timezone ()' in
C:\xampp\htdocs\preproduction.bt.nl\modules\ph_simpleblog\models\SimpleBlogHelper.php:19
Stack trace: #0
C:\xampp\htdocs\preproduction.bt.nl\modules\ph_simpleblog\models\SimpleBlogHelper.php(19):
DateTimeZone->__construct('') #1
C:\xampp\htdocs\preproduction.bt.nl\modules\ph_simpleblog\models\SimpleBlogPost.php(317):
SimpleBlogHelper::now(false) #2
C:\xampp\htdocs\preproduction.bt.nl\modules\ph_simpleblog\controllers\front\list.php(59):
SimpleBlogPost::getPosts(1, 5) #3
C:\xampp\htdocs\preproduction.bt.nl\classes\controller\Controller.php(189):
PH_SimpleBlogListModuleFrontController->initContent() #4
C:\xampp\htdocs\preproduction.bt.nl\classes\Dispatcher.php(367):
ControllerCore->run() #5
C:\xampp\htdocs\preproduction.bt.nl\index.php(28):
DispatcherCore->dispatch() #6 {main} thrown in
C:\xampp\htdocs\preproduction.bt.nl\modules\ph_simpleblog\models\SimpleBlogHelper.php
on line 19
Installing some bundles in symfony 4 when I execute the command I get the same error over and over:
Command:
composer require phpoffice/phpspreadsheet secit-pl/imap-bundle tbbc/money-bundle
Erro with stack trace
PHP Fatal error: Uncaught Error: Function name must be a string in /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php:246
Stack trace:
#0 /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php(84): Symfony\Flex\ParallelDownloader->getNext()
#1 phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code(452): Symfony\Flex\ParallelDownloader->download(Array, Object(Closure))
#2 [internal function]: Symfony\Flex\Flex_composer_tmp1->populateProvidersCacheDir(Object(Composer\Installer\InstallerEvent))
#3 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(176): call_user_func(Array, Object(Composer\Installer\InstallerEvent))
#4 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(135): Composer\EventDispatcher\EventDispatcher->doDispatch(Object(Composer\Installer\InstallerEvent))
#5 phar:///usr/local/bin/composer/src/Composer/Installer.php(471): Composer\EventDispatcher\EventDispatcher- in /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php on line 246
Fatal error: Uncaught Error: Function name must be a string in /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php:246
Stack trace:
#0 /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php(84): Symfony\Flex\ParallelDownloader->getNext()
#1 phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code(452): Symfony\Flex\ParallelDownloader->download(Array, Object(Closure))
#2 [internal function]: Symfony\Flex\Flex_composer_tmp1->populateProvidersCacheDir(Object(Composer\Installer\InstallerEvent))
#3 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(176): call_user_func(Array, Object(Composer\Installer\InstallerEvent))
#4 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(135): Composer\EventDispatcher\EventDispatcher->doDispatch(Object(Composer\Installer\InstallerEvent))
#5 phar:///usr/local/bin/composer/src/Composer/Installer.php(471): Composer\EventDispatcher\EventDispatcher- in /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php on line 246
Environment
OS: Ubuntu 16.04
PHP: 7.2.5
That only happens when I use composer require I just did an update and updated some packages included the ones which flex didn't install but didn't throw any error
Is this a bug?
It is a recent bug raised in Flex 1.0.81, upgrade to 1.0.82 (which is the same as 1.0.80) as a hotfix.
Ref: https://github.com/symfony/flex/issues/381
Moved the site from one server to another with postgresql database. Db has been connected. Then I used this command:
composer install
While loading the site, yii debugger shows an error
What is more, composer update shows many errors in console:
PHP Fatal error: Uncaught Error: Call to undefined method Composer\Package\RootPackage::getConfig() in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php:111
Stack trace:
#0 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php(74): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::getConfigBase(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#1 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/FxpAssetPlugin.php(82): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::build(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#2 /usr/share/php/Composer/Plugin/PluginManager.php(215): Fxp\Composer\AssetPlugin\FxpAssetPlugin->activate(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#3 /usr/share/php/Composer/Plugin/PluginManager.php(188): Composer\Plugin\PluginManager->addPlugin(Object(Fxp\Composer\AssetPlugin\FxpAssetPlugin))
#4 /usr/share/php/Composer/Installer/PluginInstaller.php(62): Composer\Pl in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php on line 111
Fatal error: Uncaught Error: Call to undefined method Composer\Package\RootPackage::getConfig() in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php:111
Stack trace:
#0 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php(74): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::getConfigBase(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#1 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/FxpAssetPlugin.php(82): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::build(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#2 /usr/share/php/Composer/Plugin/PluginManager.php(215): Fxp\Composer\AssetPlugin\FxpAssetPlugin->activate(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#3 /usr/share/php/Composer/Plugin/PluginManager.php(188): Composer\Plugin\PluginManager->addPlugin(Object(Fxp\Composer\AssetPlugin\FxpAssetPlugin))
#4 /usr/share/php/Composer/Installer/PluginInstaller.php(62): Composer\Pl in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php on line 111
after migrating to a new server, emails progammes with a crontab not send more, the script responsible for sending, returns this error :
Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Session must be started before any output has been sent to the browser; output started in /srv/www/assystemps/public/index_cron.php/2' in /srv/www/assystemps/library/Zend/Session.php:443
Stack trace:
#0 /srv/www/assystemps/library/Zend/Session/Namespace.php(143): Zend_Session::start(true)
#1 /srv/www/assystemps/library/Zend/Auth/Storage/Session.php(87): Zend_Session_Namespace->__construct('Zend_Auth')
#2 /srv/www/assystemps/library/Zend/Auth.php(91): Zend_Auth_Storage_Session->__construct()
#3 /srv/www/assystemps/library/Zend/Auth.php(151): Zend_Auth->getStorage()
#4 /srv/www/assystemps/application/AssystempsApplication.php(236): Zend_Auth->getIdentity()
#5 /srv/www/assystemps/public/index_cron.php(121): AssystempsApplication->envoyerMailErreur(Object(Zend_Cache_Exception))
#6 {main}
thrown in /srv/www/assystemps/library/Zend/Session.php on line 443