mevdschee / php-crud-ui

Single file PHP script that adds a UI to a PHP-CRUD-API project
MIT License
123 stars 55 forks source link

Edit and Delete produce internal server error via UI.php but work with api.php #18

Closed marchildmann closed 7 years ago

marchildmann commented 7 years ago

When I use the ui.php I am receiving the following errors for "EDIT" and "DELETE"

EDIT Fatal error: Method name must be a string in api-sqlite/ui.php on line 252

DELETE Fatal error: Method name must be a string in api-sqlite/ui.php on line 281

Everything works fine if I am using the api.php directly over an OSX tool called "CocoaRestClient"

mevdschee commented 7 years ago

Can you provide some more information? I have trouble reproducing this issue.