extism / php-sdk

Extism PHP Host SDK - easily run WebAssembly modules / plugins from PHP applications
https://extism.org
BSD 3-Clause "New" or "Revised" License
20 stars 4 forks source link

Bug: can’t call plugin call with a null (default) input #26

Closed mhmd-azeez closed 1 month ago

mhmd-azeez commented 1 month ago
2024-10-09 10:58:31] testing.ERROR: strlen(): Argument #1 ($string) must be of type string, null given {"userId":1,"exception":"[object] (TypeError(code: 0): strlen(): Argument #1 ($string) must be of type string, null given at D:\\x\\php\\akaunting\\vendor\\extism\\extism\\src\\Plugin.php:96)
[stacktrace]
#0 D:\\x\\php\\akaunting\\vendor\\extism\\extism\\src\\Plugin.php(96): strlen()