mysql 替换

UPDATE `a` SET field1 = REPLACE (field1,'abcedf','222')


( ! ) 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.0004403224{main}( ).../index.php:0
20.04471320784Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.04471320784Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.17152978912Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.17213003272Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.17293058600Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.17303075656require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.18023219744K2ControllerItem->execute( ).../k2.php:64
90.18033219744K2ControllerItem->display( ).../BaseController.php:710
100.18763488824K2ControllerItem->display( ).../item.php:78
110.18763488824K2ControllerItem->display( ).../controller.php:19
120.18953507344Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.19183527760K2ViewItem->display( ).../ViewController.php:102
140.25584029160K2ViewItem->display( ).../view.html.php:742
150.25584029160K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.25894203560include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in MYSQL
  • Read 2665 times

( ! ) 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.0004403224{main}( ).../index.php:0
20.04471320784Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.04471320784Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.17152978912Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.17213003272Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.17293058600Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.17303075656require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.18023219744K2ControllerItem->execute( ).../k2.php:64
90.18033219744K2ControllerItem->display( ).../BaseController.php:710
100.18763488824K2ControllerItem->display( ).../item.php:78
110.18763488824K2ControllerItem->display( ).../controller.php:19
120.18953507344Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.19183527760K2ViewItem->display( ).../ViewController.php:102
140.25584029160K2ViewItem->display( ).../view.html.php:742
150.25584029160K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.25894203560include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top