An undefined function is a function that fails to execute when called due to the body of the function not being available to the program, compiler, or interpreter, looking for a function definition.
Questions tagged [undefined-function]
143 questions
0
votes
1 answer
Connecting PHP form to MySQL issues
I am trying to learn new things here and I have never worked with PHP nor MySQL. Recently, I installed MySQL on a Linux VM that I have, create some accounts, create a database, a table (firstname, lastname, city, country, age).
Learned how to input…

simo110
- 15
- 5
0
votes
2 answers
MATLAB is saying th function is undefined
I am writing a script to access a function that has been written in another script.
When I run the second script the error is that the function is undefined.
I have been working backwards and am currently trying to get the function to work in the…
0
votes
2 answers
I keep getting a NameError in Python, saying that things are not defined, although I did define them
So I'm creating this based of this resource, linked here: https://www.derekshidler.com/how-to-create-a-text-based-adventure-and-quiz-game-in-python/
EDIT: Here is a GitHub link to all the code:…
0
votes
2 answers
promise executing function returning undefined
I am trying to return a value inside of a promise when the promise resolves, then pass the returned value to my state. However, the return value of my function no matter what I try... is undefined.
My function is imported from an npm package which…

monsterpiece
- 739
- 2
- 12
- 34
0
votes
2 answers
WordPress call to undefined function in_category()
I have this conditional function inside the wp-content/themes/twentythirteen-child/content.php template of my Twenty Thirteen child theme to add banners above certain posts on the blog archive page.
if…

Sparky
- 98,165
- 25
- 199
- 285
0
votes
0 answers
what should I do undefined function 'colon'..?
I'm studying weed optimization algorithm of brain MRI images using Matlab R2017a. I obtained sample code from the Matlab File Exchange of Weed Optimization Algorithm. When I rand code with a binary image, I got an error message:
Undefined function…

faniiruh
- 29
- 4
0
votes
1 answer
createAnimatedSwitchNavigator undefined is not a function
I am developing a react native app. In that app, I am trying to use an NPM package called
createAnimatedSwitchNavigator
But when I try to run the program I am getting the following error
undefined is not a function (evaluating '(0
…

Savad
- 1,240
- 3
- 21
- 50
0
votes
1 answer
Demo code from the MVGC Toolbox documentation not working on R2018b
I need help in using the MVGC (Multivariate Granger Causality) Toolbox for MATLAB.
I tried to execute the demo code which is provided here, but the code is not executing properly, since many of the functions (e.g rng_seed(), var5_test()) do not…

Sushodhan
- 400
- 1
- 6
- 16
0
votes
1 answer
IF / OR statement causes Call to undefined function() error. Why?
I have seen this error message a few times and even after googling quite some time I'm really unable to figure out what is wrong:
$uid = GNGHelper::getLoggedInUserID();
$assignedGuideID = $tour->get('guide')->get('juser_id');
$isCoord =…

wanderlusted
- 187
- 13
0
votes
1 answer
React native android undefined is not a function works in IOS
Works in IOS and works in Android when the debugger is running, but doesn't work via Android Simulator. I get this message via react-native log-android and basically I am just having nothing returned to the screen:
12-02 10:39:58.511 22502 24204 W…

Stephen Phillips
- 641
- 10
- 26
0
votes
1 answer
I can't find what's wrong with my PHP code. Can anyone see an error?
I've checked my code a thousand time and it never pops up right so I tried a PHP Checker/Tester. It tells me Call to undefined function test_input() in /home4/phptest/public_html/code.php70(5) : eval()'d code:4 Stack trace: #0…

Hannah
- 1
- 1
0
votes
1 answer
Undefined function 'head' in Matlab
I have encountered a strange problem.
I receive this error while running my code:
Undefined function 'head' for input arguments of type 'table'.
filename = 'C:\\Users\\farazpc.ir\\Downloads\\Telegram
Desktop\\MainDataset.csv';
m =…

Masoud Erfani
- 325
- 2
- 12
0
votes
1 answer
Even though gd library is enabled in windows imagecreatefromjpeg() is throwing error
enter image description here[enter image description here][2] Error:- Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined function imagecreatefromjpeg()
Function trigger:$image = imagecreatefromjpeg($source); // $source -…

Akshay Patwari
- 11
- 3
0
votes
0 answers
connectedComponents() and connectedComponentsWithStats() functions are undefined error Opencv 3.2.0
Even if I imported all Opencv header files, connectedComponents() and connectedComponentsWithStats() functions seem undefined. All other opencv functions are work fine. I use Opencv 3.2.0 with Visual Studio 2013.
connectedComponents() function is…

Ahmet Anil
- 31
- 3
0
votes
0 answers
After installing and enabling oci8 I get Call to undefined function oci_connect()
I have installed oci8 in my server. Enabled the extension in php.ini. When I run php --ri oci8 I get
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php.ini on line 737 in Unknown on line 0
oci8
OCI8 Support => enabled
OCI8…

odbhut.shei.chhele
- 5,834
- 16
- 69
- 109