I am using CakePHP 2.2.4 and Mongodb 2.2.2
I have worked through a couple of issues but am getting the following errors on my cakephp homepage
Strict (2048): Declaration of MongodbSource::execute() should be compatible with DboSource::execute($sql, $options = Array, $params = Array) [APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 36]
I get a similar error for these function declarations
- MongodbSource::query()
- MongodbSource::create()
- MongodbSource::read()
- MongodbSource::update()
- MongodbSource::delete()
- MongodbSource::calculate()
- MongodbSource::group()
- MongodbSource::dropSchema()
- MongodbSource::describe()
MongodbSource extends DbSource
in DbSource:
public function execute($sql, $options = array(), $params = array()) { <code here> }
in MongodbSource:
public function execute($query, $params = array()) { <code here> }
I kind of understand whats going on but I am not sure how to fix it.