[User Warning] popCurrent called on ModelAsController controller, but it wasn't at the top of the stack

GET /tin-tuc/13/sony-hi-res-cafe-trai-nghiem-nhung-san-pham-hi-res-moi-nhat-cua-sony-tu-ifa-2014

Line 454 in /home/vienthinh/domains/vienthinh.vn/public_html/sapphire/core/control/Controller.php

Source

445 	}
446 
447 	/**
448 	 * Pop this controller off the top of the stack.
449 	 */
450 	function popCurrent() {
451 		if($this === self::$controller_stack[0]) {
452 			array_shift(self::$controller_stack);
453 		} else {
454 			user_error("popCurrent called on $this->class controller, but it wasn't at the top of the stack", E_USER_WARNING);
455 		}
456 	}
457 	
458 	/**
459 	 * Redirct to the given URL.
460 	 * It is generally recommended to call Director::redirect() rather than calling this function directly.

Trace