Plugin doItemVar function not called in PHP 5.4. #4