Skip to content
This repository was archived by the owner on Apr 11, 2019. It is now read-only.
This repository was archived by the owner on Apr 11, 2019. It is now read-only.

PHP warning: "unserialize() expects parameter 1 to be string, array given" #8

@texttheater

Description

@texttheater

This is the content of the server response when I try to use the create/post API method:

{"data":"true","error":null}<br />\n<b>Warning</b>:  unserialize() expects parameter 1 to be string, array given in <b>/path/to/my/SmfRestServer.php</b> on line <b>397</b><br />\n<br />\n<b>Warning</b>:  unserialize() expects parameter 1 to be string, array given in <b>/path/to/my/SmfRestServer.php</b> on line <b>398</b><br />\n<br />\n<b>Warning</b>:  unserialize() expects parameter 1 to be string, array given in <b>/path/to/my/SmfRestServer.php</b> on line <b>399</b><br />\n

With the original version of the API, I don’t get the warnings. I’m mystified because I don’t see anything in SmfRestServer.php that might already have unserialized the parameters. Any ideas why this might be happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions