Unsupported operand types: string - int
at line 113 in file modules/smartblog/controllers/front/category.php
108. 'smartcustomcss' => Configuration::get('smartcustomcss'),
109. 'smartshownoimg' => Configuration::get('smartshownoimg'),
110. 'smartdisablecatimg' => Configuration::get('smartdisablecatimg'),
111. 'smartshowviewed' => Configuration::get('smartshowviewed'),
112. 'post_per_page' => $posts_per_page,
113. 'pagenums' => $totalpages - 1,
114. 'totalpages' => $totalpages
115. ));
116.
117. $template_name = 'postcategory.tpl';
118.
203. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
204. $this->initHeader();
205. }
206.
207. if ($this->viewAccess()) {
208. $this->initContent();
209. } else {
210. $this->errors[] = Tools::displayError('Access denied.');
211. }
212.
213. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) {
775.
776. // Execute hook dispatcher
777. if (isset($paramsHookActionDispatcher)) {
778. Hook::exec('actionDispatcher', $paramsHookActionDispatcher);
779. }
780. $controller->run();
781. } catch (BusinessLogicException $e) {
782. $e->displayMessage();
783. }
784. }
785.
638. *
639. * @since 1.0.0
640. * @version 1.0.0 Initial version
641. */
642. public function cart(){
643. $this->dispatch();
644. }
645. /**
646. * Find the controller and instantiate it
647. *
648. * @since 1.0.0
27. * @copyright 2007-2016 PrestaShop SA
28. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29. * PrestaShop is an internationally registered trademark & property of PrestaShop SA
30. */
31.
32. Dispatcher::getInstance()->cart();
297. Hook::exec('actionRegisterErrorHandlers');
298.
299. /* LOAD INDEX APP */
300. if ( file_exists(_BL_APP_DIR_.'/'._CURRENT_APP_.'/index.php') && !defined('_BL_EXECUTE_SCRIPT_') ){
301. define('_BL_INDEX_LOAD_', true );
302. include_once(_BL_APP_DIR_.'/'._CURRENT_APP_.'/index.php');
303. }
304.
Argument [0] /var/www/vhosts/shop.siso.ch/BusinessLogicErp/apps/cart/index.php
27. * @copyright 2007-2016 PrestaShop SA
28. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29. * PrestaShop is an internationally registered trademark & property of PrestaShop SA
30. */
31.
32. require(dirname(__FILE__).'/../config/config.inc.php');
Argument [0] /var/www/vhosts/shop.siso.ch/BusinessLogicErp/config/config.inc.php