Fatal error: Call to undefined method mysqli_stmt :: get_result ()
I am working on a web application and PHP is my backend language ...
so far i have tested the site on localhost using easyPHP ( PHP version 5.4.6 ) ... and everything was fine! Today I tried to run a website on the internet ( PHP version 5.3.18 ) and I have this error:
Fatal error: Call to undefined method mysqli_stmt :: get_result () in et al.
I think this is weird because the get_result () method must be supported since PHP 5.3.0 ( source )
Do you have any ideas how to solve this problem?
Thank you in advance
UPDATE:
I didn't have any code because that's ok (it still works on my localhost) ... the problem must be in the network environment.
UPDATE 2: I am sharing phpInfo section with mysqli info ...
Localhost:
Remote control:
source to share
I had the same problem and didn't have much confidence that my hosting provider would be enabling mysqlnd any time soon. So the shutdown endedmysqli_stmt::get_result()
Check if this solution works
source to share