dotcomUNDERGROUND Posted November 15, 2020 Share Posted November 15, 2020 If a private note is added to a ticket, GetTicket api call is throwing error: Oops! Something went wrong and we couldn't process your request. Error: Invalid string offset in /home/whmcs_dir/includes/api/getticket.php:0 Stack trace: #0 /home/whmcs_dir/vendor/whmcs/whmcs-foundation/lib/Api/V1/Api.php(0): unknown() #1 /home/whmcs_dir/vendor/whmcs/whmcs-foundation/lib/Api/V1/Api.php(0): WHMCS\Api\V1\Api->executeApiCall() #2 /home/whmcs_dir/vendor/whmcs/whmcs-foundation/lib/Api/ApplicationSupport/Route/Middleware/HandleProcessor.php(0): WHMCS\Api\V1\Api->call() #3 /home/whmcs_dir/vendor/whmcs/whmcs-foundation/lib/Api/ApplicationSupport/Route/Middleware/HandleProcessor.php(0): WHMCS\Api\ApplicationSupport\Route\Middleware\HandleProcessor->processV1Request(Object(WHMCS\Api\ApplicationSupport\Http\ServerRequest)) #4 /home/whmcs_dir/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): WHMCS\Api\ApplicationSupport\Route\Middleware\HandleProcessor->_process(Object(WHMCS\Api\ApplicationSupport\Http\ServerRequest), Object(Middlewares\Utils\Delegate)) . . . . . If I remove the private note from the ticket, everything works fine. Parameters I am passing: $command = array( 'action' => 'GetTicket', 'username' => $whmcs_user, 'password' => $whmcs_pass, 'ticketnum' => $ticket_id, 'responsetype' => 'json', ); 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.