( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0003415616{main}( ).../index.php:0
20.08854721080Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.378514253272Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.378614253216Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.378714253592Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.378714253592Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.378814253688Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.379114293608require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.383314591296GKTemplate->__construct( ).../component.php:31
100.388614760672GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.389214805528require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0003415616{main}( ).../index.php:0
20.08854721080Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.378514253272Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.378614253216Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.378714253592Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.378714253592Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.378814253688Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.379114293608require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.383314591296GKTemplate->__construct( ).../component.php:31
100.390914933472GKTemplateMenu->getMenuType( ).../gk.framework.php:85
关于”running yum-complete-transaction first” 的提示信息
Logo
Print this page

关于”running yum-complete-transaction first” 的提示信息

今天在用yum升级一台新机器时,顾客用ssh远程把server重新启动了。之后,在使用yum 时总是有提示信息:

There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.

意思是,有未完成的yum事务,建议先运行yum-complete-transaction命令清除。

处理步骤:

# 安装 yum-complete-transaction

yum install yum-utils

# 运行 yum-complete-transaction

yum-complete-transaction –cleanup-only

# 清除可能存在的重复包

package-cleanup –dupes

# 清除可能存在的损坏包

package-cleanup –problems


( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0003416096{main}( ).../index.php:0
20.22034721560Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.22034721560Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.626212449936Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.627212474616Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.628312529944Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.628712558768require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.640212994176K2ControllerItem->execute( ).../k2.php:64
90.640212994176K2ControllerItem->display( ).../BaseController.php:710
100.653413719376K2ControllerItem->display( ).../item.php:78
110.653413719376K2ControllerItem->display( ).../controller.php:19
120.659514115744Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.661214136112K2ViewItem->display( ).../ViewController.php:102
140.764817084064K2ViewItem->display( ).../view.html.php:742
150.764817084064K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.766917264264include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0003416096{main}( ).../index.php:0
20.22034721560Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.22034721560Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.626212449936Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.627212474616Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.628312529944Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.628712558768require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.640212994176K2ControllerItem->execute( ).../k2.php:64
90.640212994176K2ControllerItem->display( ).../BaseController.php:710
100.653413719376K2ControllerItem->display( ).../item.php:78
110.653413719376K2ControllerItem->display( ).../controller.php:19
120.659514115744Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.661214136112K2ViewItem->display( ).../ViewController.php:102
140.764817084064K2ViewItem->display( ).../view.html.php:742
150.764817084064K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.766917264264include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.