You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When following the exact code from the documentation, on the new Phalcon beta, when trying to add assets to a new collection it gives a, incorrect number of arguments exception.
Here is the exact error:
Fatal error: Uncaught exception 'BadMethodCallException' with message 'Wrong number of parameters' in /home/*******:*** Stack trace: #0 /home/*******(**): Phalcon\Assets\Collection->addJs('*****', true) #1 /home/*****.php(***): addAssets(Object(Phalcon\Assets\Manager), Array, Array, Array, '******') #2 [internal function]: ********Controller->****Action('******') #3 [internal function]: Phalcon\Dispatcher->dispatch() #4 /home/*************(**): Phalcon\Mvc\Application->handle() #5 {main} thrown in /home/**************** on line 48
The text was updated successfully, but these errors were encountered:
afturner
changed the title
Assets collection gives invalid arguments error.
Assets collection throws ('BadMethodCallException' with message 'Wrong number of parameters')
May 29, 2014
When following the exact code from the documentation, on the new Phalcon beta, when trying to add assets to a new collection it gives a, incorrect number of arguments exception.
Here is the exact error:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: