DO NOT DEAL WITH THIS MEMBER
Im getting chucked this error, I have blocked out the domain and what not but im on the latest php version so that shouldn't be the issue:
Code Fatal error: Uncaught Error: Call to undefined function getToken() in *DOMAIN*:17 Stack trace: #0 *DOMAIN*(71): Withdraw->PayOut('USERNAME', 1) #1 {main} thrown in *DOMAIN* on line 17
If anyone could point me in the right direction it would be appreciated 🎉
DO NOT DEAL WITH THIS MEMBER
(Feb 15, 2018 10:36 AM)Yani Wrote: That has nothing to do with PHP itself but with the code you're using.
Do you know what it is?
Sounds like you're trying to use a function that has not yet been made..
Maybe you're not including a file that it needs to reference this from?
Something like
include 'file.php';
Tell yo' paps you love'm while he here.
DO NOT DEAL WITH THIS MEMBER
(Feb 15, 2018 10:58 AM)Hunion Wrote: Sounds like you're trying to use a function that has not yet been made..
Maybe you're not including a file that it needs to reference this from?
Something like
include 'file.php';
Do you have discord? I would really like to talk further on this and im sure you will be able to spot the problem almost immediately, I cannot post the code here but i will be able to show you over discord.
- Thanks
(Feb 15, 2018 11:00 AM)JAS Wrote: Do you have discord? I would really like to talk further on this and im sure you will be able to spot the problem almost immediately, I cannot post the code here but i will be able to show you over discord.
- Thanks
No. Either post your code or go to the market.
Nobody is going to help you in private for free.
Also, the function is self-explanatory; you are calling a function before it is defined.
Read what charger said. In addition to that, go to the PHP file that's throwing the error. On line 17 it's calling the function getToken() before it's been defined. Did you modify something recently? This error isn't just going to pop up on it's own, someone changed something.
Je t'aime
(Apr 22, 2022 04:39 PM)-Scrub Wrote: Jokes on you, I'm not smart enough to know what he's talking about.
I'm a novice PHP coder and I get this error all the time. Learn to code or hire somebody to do this for you. Or at least post your code if you want to learn.
Nowadays? I'm just here for the nostalgia.
Feb 16, 2018 10:36 AM
(This post was last modified: Feb 16, 2018 10:36 AM by Gliese.)
It's trying to call a function named getToken(), but the function hasn't been created.
You are calling a function which is not yet defined.
You need to either include the php file it's included in, or put the function above where it's called.
(Feb 16, 2018 02:47 PM)Elitas Wrote: You are calling a function which is not yet defined.
You need to either include the php file it's included in, or put the function above where it's called. The latter portion of your post isn't acurate.
Assuming you're saying that you're saying this wouldn't work:
PHP Code
<?php // Call function myFunction();
// Defined below function myFunction() { echo "abcd"; }
Je t'aime
(Apr 22, 2022 04:39 PM)-Scrub Wrote: Jokes on you, I'm not smart enough to know what he's talking about.
DO NOT DEAL WITH THIS MEMBER
![[Image: fa60107b6b1f0f27897e06b596b87a7d.png]](https://i.gyazo.com/fa60107b6b1f0f27897e06b596b87a7d.png)
You had pretty good answers on stack overflow? As everyone stated, the error is simple, but how we can help you, you`re hiding the code?
(Feb 24, 2018 05:12 PM)elunez Wrote: ![[Image: fa60107b6b1f0f27897e06b596b87a7d.png]](https://i.gyazo.com/fa60107b6b1f0f27897e06b596b87a7d.png)
You had pretty good answers on stack overflow? As everyone stated, the error is simple, but how we can help you, you`re hiding the code? Definately use a spoiler next time. Big images are annoying. OP has clearly ghosted us, considering this post is over a week old.
No point in bumping it up just to repeat the same answers.
Je t'aime
(Apr 22, 2022 04:39 PM)-Scrub Wrote: Jokes on you, I'm not smart enough to know what he's talking about.
|