Fuel\Core\PhpErrorException [ Warning ]: Missing argument 1 for Admin\Controller_Content::Admin\{closure}(), called in /var/www/html/www_ibxbase/fuel/core/classes/view.php on line 285 and defined
That will install the latest release version, 1.7.3, which doesn't have the fix.
oil create will do a "git clone", so you can just go into your fuel/core and fuel/packages/... folders, and to a "git checkout 1.8/develop" to switch to the current develop version.
It is stable enough to use it in production, all our applications run on 1.8/develop.
Do you have any oil command that I can install the stable production version? There are two error it really give me a lot of trouble.
The first one is "Passing function to view."
The second one is "Fuel\Core\Fuel::init - The configured locale en_US is not installed on your system." from the log files.
# quick install oil from the web $ curl get.fuelphp.com/oil | sh # now that oil is installed, create a blog project in a directory called Sites $ cd Sites/ $ oil create blog
oil does install the stable production version, which at this moment is 1.7.3.
How you switch depends on how you have installed Fuel. If you have local repositories (does ./fuel/core have a .git folder?), I have already told you how to switch. If you don't, you need to install the zip manually.
The error message is that it says: your config defaults to the locale "en_US", and that is not installed on your system. So either install it, or configure the correct locale. On debian type linux installations, the locale should be "en_US.utf8" for example.
I was try the oil and direct download the zip file which say fuelphp v1.7.3
After install it.
When I try to "Passing functions to views"
I still got the same error.
=================================
Fuel\Core\PhpErrorException [ Warning ]: Missing argument 1 for Admin\Controller_Content::Admin\{closure}(), called in /var/www/html/www_ibxbase/fuel/core/classes/view.php on line 285 and defined