![]() |
|
[PHP] Fatal error: Uncaught Error: Call to undefined function - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183) +---- Thread: [PHP] Fatal error: Uncaught Error: Call to undefined function (/showthread.php?tid=5799980) |
Fatal error: Uncaught Error: Call to undefined function - JAS - Feb 15, 2018 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 17If anyone could point me in the right direction it would be appreciated 🎉 RE: Fatal error: Uncaught Error: Call to undefined function - JAS - Feb 15, 2018 (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? RE: Fatal error: Uncaught Error: Call to undefined function - Hunion - Feb 15, 2018 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'; RE: Fatal error: Uncaught Error: Call to undefined function - JAS - Feb 15, 2018 (Feb 15, 2018 10:58 AM)Hunion Wrote: Sounds like you're trying to use a function that has not yet been made.. 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 RE: Fatal error: Uncaught Error: Call to undefined function - Charger - Feb 15, 2018 (Feb 15, 2018 11:00 AM)free707 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. 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. RE: Fatal error: Uncaught Error: Call to undefined function - Nachfolger - Feb 15, 2018 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. RE: Fatal error: Uncaught Error: Call to undefined function - Bluffer - Feb 15, 2018 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. RE: Fatal error: Uncaught Error: Call to undefined function - Gliese - Feb 16, 2018 It's trying to call a function named getToken(), but the function hasn't been created. RE: Fatal error: Uncaught Error: Call to undefined function - Elitas - Feb 16, 2018 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. RE: Fatal error: Uncaught Error: Call to undefined function - Nachfolger - Feb 16, 2018 (Feb 16, 2018 02:47 PM)Elitas Wrote: You are calling a function which is not yet defined.The latter portion of your post isn't acurate. Assuming you're saying that you're saying this wouldn't work: PHP Code RE: Fatal error: Uncaught Error: Call to undefined function - elunez - Feb 24, 2018 ![]() 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? RE: Fatal error: Uncaught Error: Call to undefined function - Nachfolger - Feb 24, 2018 (Feb 24, 2018 05:12 PM)elunez Wrote: Spoiler (Click to View)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. |