( ! ) 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.0009415560{main}( ).../index.php:0
20.10534720632Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.449114250472Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.449214250416Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.449314250792Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.449314250792Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.449414250888Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.450414290808require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.454614588496GKTemplate->__construct( ).../component.php:31
100.460814757872GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.461414802728require_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.0009415560{main}( ).../index.php:0
20.10534720632Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.449114250472Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.449214250416Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.449314250792Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.449314250792Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.449414250888Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.450414290808require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.454614588496GKTemplate->__construct( ).../component.php:31
100.463514930672GKTemplateMenu->getMenuType( ).../gk.framework.php:85
qnap .profile
Logo
Print this page

qnap .profile

/root/.profile

 

To make this setting permanent, you can add this to your .profile, before the 'reset' line

export PS1='[\w] # '
export TERMINFO='/usr/share/terminfo/'
reset

This assumes that you are using the default QNAP shell of /bin/sh. If you are using /bin/bash, put the export command in .bashrc.

 

Troubleshooting

  • If the .profile gets overwritten at reboot (which is the case with firmware 3.8.1) a workaround could be to create a .profile_backup in /share/HDA_DATA/ and overwrite the .profile in autorun.sh with:
cp /share/HDA_DATA/.profile_backup /root/.profile

( ! ) 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.0004415936{main}( ).../index.php:0
20.09154721008Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09154721008Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.296512449232Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.297112473576Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.297812528904Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.298012557728require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.305912993136K2ControllerItem->execute( ).../k2.php:64
90.306012993136K2ControllerItem->display( ).../BaseController.php:710
100.316613718336K2ControllerItem->display( ).../item.php:78
110.316613718336K2ControllerItem->display( ).../controller.php:19
120.321214114704Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.322914135072K2ViewItem->display( ).../ViewController.php:102
140.418517079744K2ViewItem->display( ).../view.html.php:742
150.418517079744K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.420617259944include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Qnap
  • Read 1630 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.0004415936{main}( ).../index.php:0
20.09154721008Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09154721008Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.296512449232Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.297112473576Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.297812528904Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.298012557728require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.305912993136K2ControllerItem->execute( ).../k2.php:64
90.306012993136K2ControllerItem->display( ).../BaseController.php:710
100.316613718336K2ControllerItem->display( ).../item.php:78
110.316613718336K2ControllerItem->display( ).../controller.php:19
120.321214114704Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.322914135072K2ViewItem->display( ).../ViewController.php:102
140.418517079744K2ViewItem->display( ).../view.html.php:742
150.418517079744K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.420617259944include( '/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.