Skip to content

Cannot get http_user_agent when send() #33

@bimbaim

Description

@bimbaim

I use jyxo to connect with otys API
when I send(). I got an error

[22-Jul-2022 09:15:00 UTC] PHP Fatal error: Uncaught Jyxo\Rpc\Xml\Exception: Db.kvdbiQueryException: MySQL query failed: [Duplicate column name 'NULL'] [INSERT INTO otys_system.ows_sessions (klantid, consultantid, session_id, ip, http_user_agent, source, location) SELECT * FROM (SELECT 2519, 55007, 'j4f0crccoeeavh213crjl16on2', '128.199.182.51', NULL, NULL, 'Singapore (SG)') as tmp WHERE NOT EXISTS (SELECT * FROM otys_system.ows_sessions WHERE klantid = 2519 AND consultantid = 55007 AND session_id = 'j4f0crccoeeavh213crjl16on2') /* ORIGIN: /var/www/otys-webservices/src/Otys/Services/AuthService.php[357] SQLDEBUG:OWS */] in /home/bringatwork/web/bringatwork.whellolab.nl/public_html/wp-content/plugins/whello-jyxo/vendor/jyxo/php/Jyxo/Rpc/Xml/Client.php:82

in that error the api can not get http_user_agent and source. is there any way to send manually to orevent null?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions