Closed StefanduPlessis closed 2 years ago
thanks for the issue.
Do you use the latest PeachPie release, and are the NuGet references in your project alright? There might be a reference to an old PeachhPie NuGet resulting in such an error. (you would see a warning message during build)
Yes I do have the latest release. In the webapp i have the following references:
<PackageReference Include="Peachpie.AspNetCore.Mvc" Version="1.0.20" />
<PackageReference Include="Peachpie.Library" Version="1.0.20" />
In my Php library I have:
<Project Sdk="Peachpie.NET.Sdk/1.0.20">
<PackageReference Include="Peachpie.CodeAnalysis" Version="1.0.20" />
<PackageReference Include="Peachpie.App" Version="1.0.20" />
I also added the <PackageReference Include="Peachpie.Library.MySql" Version="1.0.20" />
package later on, but that did not resolve the issue.
Thanks. I see there is an issue in mysql_stmt
; working on it.
@StefanduPlessis thanks again for the issue, it's fixed now.
It will be available in the next release of PeachPie.
Thank you @jakubmisek!
I'm having an issue with the
Peachpie.Library.MySql.MySqli.mysqli_stmt.get_result
function. Below is a snippet of the code:When trying to retrieve the result using
$statement->get_result();
, I get the following error:However I did get around this by adding my own
get_result
function to the current context:Do you perhaps have an idea what would be causing this reference issue or how to avoid it?
Here is the relevant decompiled php aswell, not sure if that will help you.