unserialize(): Error at offset 4936 of 7865 bytes
-
/var/www/vhosts/mcf.rs/httpdocs/VectorCMS/Model/AppModel.php : 1616
1609 $cache = file_get_contents($file);1610 }1611 }16121613 # Found1614 if ($cache) {1615 list($query, $result) = explode($separator, $cache, 2);1616 $data = unserialize($result);1617 }1618 }16191620 # Read from database1621 if (empty($data)) {1622 Timer::startLoop('Model::find()');1623 {1624
-
AppErrorHandler
::
handleError
(
integer: 8
, unserialize(): Error at offset 4936 of 7865 bytes
, /var/www/vhosts/mcf.rs/httpdocs/VectorCMS/Model/AppModel.php
, integer: 1616
, Array
(
[type] => all
[params] => Array
(
…
)
-
unserialize
(
a:3:{i:0;a:1:{s:10:"Javascript";a:4:{s:2:"id";i:99;s:4:"name";s:…
)
/var/www/vhosts/mcf.rs/httpdocs/VectorCMS/Model/AppModel.php : 16161609 $cache = file_get_contents($file);1610 }1611 }16121613 # Found1614 if ($cache) {1615 list($query, $result) = explode($separator, $cache, 2);1616 $data = unserialize($result);1617 }1618 }16191620 # Read from database1621 if (empty($data)) {1622 Timer::startLoop('Model::find()');1623 {1624 -
AppModel
➝
find
(
all
, Array
(
[conditions] => Array
(
[0] => J…
)
/var/www/vhosts/mcf.rs/httpdocs/VectorCMS/Controller/FrontController.php : 342335 ];336 foreach ([ 'Stylesheet', 'Javascript' ] as $asset) {337 $small = Inflector::underscore($asset);338 $field = $small . '_set';339 if (!empty($page['Layout'][$field])) {340 $list = mergeSets($page['Layout'][$field], $page['Content'][$field]);341 $query['conditions'] = "{$asset}.id IN ({$list})";342 $assets = $this->Page->Layout->$asset->find('all', $query);343 foreach ($assets as $item) {344 $page[$asset][] = $item[$asset];345 }346 }347 }348349 # Extract module variables350 if (!empty($page['Variables'])) { -
FrontController
➝
read
(
Array
(
[0] => kontaktirajte-nas
)
)
/var/www/vhosts/mcf.rs/httpdocs/VectorCMS/Controller/FrontController.php : 5548 $this->cookies = $this->Cookie->read();49 $this->set('_cookies', $this->cookies);5051 # Get path52 $path = $this->request->params['pass'];5354 # Read the page55 $page = $this->read($path);56 $this->assets($this->page);5758 # Do not allow access to home page by its slug59 if ($page['Page']['is_default'] && $this->request->params['pass']) {60 $url = '/' . $this->request->params['language'] . '/';61 header('Location: ' . FRONT_BASE_URL . $url, true, 307);62 exit;63 } -
FrontController
➝
beforeFilter
(
HUGE CakeEvent
)
/var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Event/CakeEventManager.php : 243236 foreach ($listeners as $listener) {237 if ($event->isStopped()) {238 break;239 }240 if ($listener['passParams'] === true) {241 $result = call_user_func_array($listener['callable'], $event->data);242 } else {243 $result = call_user_func($listener['callable'], $event);244 }245 if ($result === false) {246 $event->stopPropagation();247 }248 if ($result !== null) {249 $event->result = $result;250 }251 } -
CakeEventManager
➝
dispatch
(
HUGE CakeEvent
)
/var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Controller/Controller.php : 677670 * - triggers Component `startup` methods.671 *672 * @return void673 * @triggers Controller.initialize $this674 * @triggers Controller.startup $this675 */676 public function startupProcess() {677 $this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));678 $this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this));679 }680681 /**682 * Perform the various shutdown processes for this controller.683 * Fire the Components and Controller callbacks in the correct order.684 *685 * - triggers the component `shutdown` callback. -
Controller
➝
startupProcess
(
)
/var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Routing/Dispatcher.php : 189182 *183 * @param Controller $controller Controller to invoke184 * @param CakeRequest $request The request object to invoke the controller for.185 * @return CakeResponse the resulting response object186 */187 protected function _invoke(Controller $controller, CakeRequest $request) {188 $controller->constructClasses();189 $controller->startupProcess();190191 $response = $controller->response;192 $render = true;193 $result = $controller->invokeAction($request);194 if ($result instanceof CakeResponse) {195 $render = false;196 $response = $result;197 } -
Dispatcher
➝
_invoke
(
HUGE FrontController
, CakeRequest Object
(
[params] => Array
(
…
)
/var/www/vhosts/mcf.rs/httpdocs/lib/Cake/Routing/Dispatcher.php : 167160 if (!($controller instanceof Controller)) {161 throw new MissingControllerException(array(162 'class' => Inflector::camelize($request->params['controller']) . 'Controller',163 'plugin' => empty($request->params['plugin']) ? null : Inflector::camelize($request->params['plugin'])164 ));165 }166167 $response = $this->_invoke($controller, $request);168 if (isset($request->params['return'])) {169 return $response->body();170 }171172 $afterEvent = new CakeEvent('Dispatcher.afterDispatch', $this, compact('request', 'response'));173 $this->getEventManager()->dispatch($afterEvent);174 $afterEvent->data['response']->send();175 } -
Dispatcher
➝
dispatch
(
CakeRequest Object
(
[params] => Array
(
…
, CakeResponse Object
(
[_statusCodes:protected] => Array
…
)
/var/www/vhosts/mcf.rs/httpdocs/VectorCMS/webroot/index.php : 156149 # Cronjob handler150 if (isset($argc) && $argc == 2 && isCLI()) {151 define('CRONJOB', $argv[1]);152 $Dispatcher->dispatch(new CakeRequest($argv[1]), new CakeResponse());153 exit;154 }155156 $Dispatcher->dispatch(new CakeRequest(), new CakeResponse([ 'charset' => Configure::read('App.encoding') ]));157