souzadavi Posted January 17, 2019 Share Posted January 17, 2019 I created a payment module for WHMCS,,,, I have a user with trouble in WHMCS 7.1... the error is on imagem, there is any ideia what is it could be??? thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 18, 2019 Share Posted January 18, 2019 15 hours ago, souzadavi said: I created a payment module for WHMCS,,,, I have a user with trouble in WHMCS 7.1... the error is on imagem, there is any idea what is it could be??? not without seeing the code causing the error... stdClass could occur with a capsule database query (or existing variable) and you then trying to access the result in the wrong way. 1 Quote Link to comment Share on other sites More sharing options...
souzadavi Posted January 18, 2019 Author Share Posted January 18, 2019 (edited) Thanks @brian! can I send the code on PM? Could be something in function json_decode($resposta); ??? Edited January 18, 2019 by souzadavi 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 18, 2019 Share Posted January 18, 2019 10 minutes ago, souzadavi said: Thanks @brian! can I send the code on PM? Could be something in function json_decode($resposta); ??? sure - but I probably won't get a chance to look at it until tomorrow. 1 Quote Link to comment Share on other sites More sharing options...
souzadavi Posted January 21, 2019 Author Share Posted January 21, 2019 To fixed I used second parameter equal true. It fixed the error... jsondecode( $original, TRUE ); thanks brian! 1 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.