{"id":6295,"date":"2014-04-15T10:54:58","date_gmt":"2014-04-15T10:54:58","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/15\/fatal-error-call-to-undefined-method-mysqli_stmtget_result-collection-of-common-programming-errors-2\/"},"modified":"2014-04-15T10:54:58","modified_gmt":"2014-04-15T10:54:58","slug":"fatal-error-call-to-undefined-method-mysqli_stmtget_result-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/15\/fatal-error-call-to-undefined-method-mysqli_stmtget_result-collection-of-common-programming-errors-2\/","title":{"rendered":"Fatal error: Call to undefined method mysqli_stmt::get_result()-Collection of common programming errors"},"content":{"rendered":"<p>i&#8217;m working to a web app, and PHP is my backend language&#8230;<\/p>\n<p>until now, i tested the website on localhost, using <strong>easyPHP<\/strong> (<strong>PHP version 5.4.6<\/strong>)&#8230; and everything was good! Today i tried to run the website online (<strong>PHP version 5.3.18<\/strong>), and i&#8217;ve this error:<\/p>\n<blockquote>\n<p>Fatal error: Call to undefined method mysqli_stmt::get_result() in etc.<\/p>\n<\/blockquote>\n<p>I think this is strange, because the get_result() method should be supported since PHP 5.3.0 (source)<\/p>\n<p>Do you have any ideas how to solve this problem?<\/p>\n<p>Thank you in advance<\/p>\n<p><strong>UPDATE:<\/strong><\/p>\n<p>i didn&#8217;t share any code because it is just fine (it still works on my localhost)&#8230; the problem should be on the online environment.<\/p>\n<p><strong>UPDATE 2:<\/strong> I share the section of the phpInfo with the info about <strong>mysqli<\/strong>&#8230;<\/p>\n<p><em>Localhost:<\/em> <img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/MpRfk.png\" \/><\/p>\n<p><em>Remote:<\/em> <img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/kLUBZ.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>i&#8217;m working to a web app, and PHP is my backend language&#8230; until now, i tested the website on localhost, using easyPHP (PHP version 5.4.6)&#8230; and everything was good! Today i tried to run the website online (PHP version 5.3.18), and i&#8217;ve this error: Fatal error: Call to undefined method mysqli_stmt::get_result() in etc. I think [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6295","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6295"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6295\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}