On dev.ocal server there is warrning:

Warning: call_user_func_array() expects parameter 1 to be a valid
callback, class 'ShutterStock' does not have a method 'random_tag' in
/srv/www/dev.openclipart.org/htdocs/libs/AikiScript.php on line 336

-- 
You received this bug notification because you are a member of Aiki
Framework Developers, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/908598

Title:
  Aiki don't check for number of parameters and if API or extension
  exists

Status in Aiki Framework:
  Confirmed

Bug description:
  If you put different number of parameters to extension or API function
  you got this errors

  Warning: Missing argument 2 for Test::foo() in 
/usr/share/aiki/assets/extensions/Test.php on line 7
  Notice: Undefined variable: b in /usr/share/aiki/assets/extensions/Test.php 
on line 8

  if you have extension Test with method foo and parameter $b.

  and this warrnig if you try to execute extension $aiki->Test->bar with
  don't exist

  Warning: call_user_func_array() expects parameter 1 to be a valid
  callback, class 'Test' does not have a method 'bar' in
  /usr/share/aiki/libs/AikiScript.php on line 329

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/908598/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : aikiframework-devel@lists.launchpad.net
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to