dev
dev

Reputation: 1

Rest datasource in cakephp

I'm trying since six hours to add the rest plugin, found here: CakePHP-Rest-Datasource

The problem is that it has many error messages. Now after trying many options I have the following error message :

Declaration of Resource::query() should be compatible with DboSource::query()

Someone has an idea?

Upvotes: 0

Views: 111

Answers (1)

floriank
floriank

Reputation: 25698

This has been asked a few thousand times before. Try searching for error messages if you don't know what they mean. But this one is very clear IMHO.

This is a php5 strict error message telling you that the signature of the methods don't match. Make them match. Create a bug type ticket for the plugin or fix it yourself and create a pull request.

The plugin hasn't been updated for over 2 years and doesn't have any tests. I would not recommend to use it.

Upvotes: 2

Related Questions