A PHP Error was encountered

Severity: Warning

Message: array_slice() expects parameter 2 to be long, string given

Filename: models/QuestionsModel.php

Line Number: 15

Backtrace:

File: /home/madannaresh/public_html/application/models/QuestionsModel.php
Line: 15
Function: array_slice

File: /home/madannaresh/public_html/application/controllers/Questions.php
Line: 51
Function: getQuestions

File: /home/madannaresh/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: main/questions.php

Line Number: 604

Backtrace:

File: /home/madannaresh/public_html/application/views/main/questions.php
Line: 604
Function: _error_handler

File: /home/madannaresh/public_html/application/controllers/Questions.php
Line: 56
Function: view

File: /home/madannaresh/public_html/index.php
Line: 315
Function: require_once