-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error: Call to undefined method #49
Comments
Which PHP version are you using? |
I use PHP 5.6 |
It seems an issue related to the specific Could you try your example with another version? Or could you provide us a full reproducible example of the issue (i.e. source code, composer.json etc..), please? Thanks in advance. |
It seems this processWithinGroupOrder() method has been removed from SelectDecorator class in Zend Framework 2.4.9 However I found this processWithinGroupOrder() method in SphinxSearch\Db\Sql\Select. Here is my sample code use App\Controller\AppAbstractActionController; use SphinxSearch\Search; class IndexController extends AppAbstractActionController {
}` |
Could you attach your I suppose you're using the zend-db 2.4.8 (because 2.4.9 is the zend framework version, but the zend-db 2.4.9 does not exist). |
Sure! |
However if you need more infos, you can have them here on Github in Zend framework repository. |
This is also an issue for me.. Using PHP 7.0.18 with any version of zend 2.4 |
I closed the issue because I had thought it was resolved, sorry. Could you provide us more detail? |
No problems mate, http://puu.sh/w7xPB/dacc6e7e92.png Attached is the files requested composer.txt The following code is used:
|
@DSCmattb I see you used Could you try your code with our service factory instead of Thanks in advance! |
Can agree, defining it as the documentation works perfectly, sorry for that 👍 |
@leogr we can close this issue. |
Ok, no problem! |
I have just downloaded this module and I installed it.
But I can work with it because of this fatal error in the screenshot.
I actually use Zend 2.4.9.
What have I missed please?
Here is my code
use SphinxSearch\Search;
use SphinxSearch\Db\Sql\Predicate\Match;
$search = new Search($adapter);
$rowset = $search->search('foo', new Match('?', 'ipsum dolor'));
echo 'Founds row:' . PHP_EOL;
foreach ($rowset as $row) {
echo $row['id'] . PHP_EOL;
}
The text was updated successfully, but these errors were encountered: