cakephp - Cake PHP : Warning (2): vsprintf() [function.vsprintf]: Too few arguments [CORE\Cake\basics.php, line 562] -


i'm upgrading cakephp application version 1.3 version 2.4.6 .i have copied of model, view , controller maintaining cake naming conventions.the application running showing these notice , warning..

warnings :

warning (2): vsprintf() [function.vsprintf]: few arguments [core\cake\basics.php, line 562]

notice:

notice (8): indirect modification of overloaded property prospectscontroller::$paginate has no effect [app\controller\prospectscontroller.php, line 51]

notice (8): indirect modification of overloaded property prospectscontroller::$paginate has no effect [app\controller\prospectscontroller.php, line 52]

strict (2048): declaration of segment::beforesave() should compatible model::beforesave($options = array) [app\model\segment.php, line 41]

and whats wrong pagination style ?

enter image description here

showing these notice...

notice (8): indirect modification of overloaded property prospectscontroller::$paginate has no effect [app\controller\prospectscontroller.php, line 51]

notice (8): indirect modification of overloaded property prospectscontroller::$paginate has no effect [app\controller\prospectscontroller.php, line 52]

now can remove these warnings , notice ??


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -