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
how can I use getline function in c?
I am trying to use getline() function. I am using correct syntax I guess and also I have included #include header file also. Still it is showing that [Error] 'getline' was not declared in this scope
here is my…

Burhan Aijaz
- 1
- 1
0
votes
0 answers
There was an error in evaluating the test script: Error: Cannot read properties of undefined (reading 'soap:Body')
Try to check the value of status in response body
Test Scrip:
var jsonObject = xml2Json(responseBody);
//console.log(jsonObject);
tests["Check Expected Status value"] = jsonObject['Soap:Envelope']['soap:Body'].item.STATUS == "0";
Response Body:
0
votes
1 answer
symlink issue when run the php artisan storage:link in cpanel server
when running the PHP artisan storage:link
shows this error
Call to undefined function Illuminate\Filesystem\symlink()
it is working on my local pc when I deployed and run the command then show the error.
I have tried to fix this issue not been…

Showkii Paa
- 77
- 8
0
votes
1 answer
Excel Office Scripts - Copy and paste range if filtered data is not empty
Summary: I have a multi-step script where I need an IF statement to handle a scenario when the range I am copying from could be empty. I need the script to move onto the next step even if it "skips" the immediate next step.
Scenario: A step in the…

ckatz
- 23
- 8
0
votes
1 answer
Why when I move a variable from in between 2 functions and place it above both functions does function 2 become undefined?
I'm very new to JavaScript and I'm having a hard time understanding why my code is coming back as undefined. I also can't seem to get the dropdown to function as it should.
My CodePen: https://codepen.io/TiffSmith126/pen/KKZxdma
Problem 1) When I…

Tiffany Smith
- 13
- 4
0
votes
0 answers
Uncaught Error: Call to undefined function bmiCalculation()
I'm a beginner with PHP (and other programming languages).
Currently busy with learning about functions and parameters. I thought I got it, but with running this code I get the error as in the title of this post..
Anyone can tell me what I am doing…
user16400127
0
votes
3 answers
Javascript function returning 'undefined'
I've written a a function which takes score as parameter and should return the letter grade.
There are some conditions to be followed while writing the code. ie: return 'A' if 25 < score <= 30 return 'B' if 20 < score <= 25 and so on. So I wanted to…

Imtiaz Ahmed
- 123
- 3
- 12
0
votes
0 answers
React Native (Expo): TouchableOpacity onPress is not a function / is undefined
I was following this tutorial on Linkedin-Learning and suddelny my code wouldn't work anymore.
Unfortunately i don't really understand these error messages:
This warning always appears:
Warning: Failed prop type: The prop onPress is marked as…

ableryder
- 31
- 4
0
votes
2 answers
Why is this python code not working (possible syntax error ?)
I am new to python and cannot understand why the method, goSouthWest, is not working with my tester. Both files are located in the same folder. The issue that arises is "goSouthWest is not defined". Basically a name error when calling the…

Adil Hashmi
- 11
0
votes
1 answer
Weird "EVAL: undefined function T" error in Common LISP
I'm writing a function in Common Lisp, but I'm getting this error I mentioned in the title.
(defun sample (graph-id vertices)
(cond
((null vertices) nil)
(t
(and
(setf
(gethash…

giovannibrumana
- 3
- 3
0
votes
2 answers
undefined reference to "function name" in "other function name" C++
as a part of a project iam trying to call a function from Tree cpp file to Graph cpp
but the compailer throw me an error saying the function iam callin to is not define
for 2 days i have been trying solving this without success
the error i get…

Yarden Adi
- 3
- 2
0
votes
1 answer
How to fix 'Call to undefined function _get_custom_object_labels()'
Please help me, not sure how to fix it 'Call to undefined function _get_custom_object_labels()'
Code below:
);
$nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name'];
$labels = _get_custom_object_labels( $tax,…

Nicole
- 1
0
votes
1 answer
undefined function dcount in expression
I am using Access 2016. I am using dcount in my query however I am getting this error "undefined function dcount in expression". Any idea how can I fix this issue?
here is my syntax
SELECT Table1.Supplier, Table1.Spec,…
0
votes
1 answer
warning: Ecto.Repo.insert_all/3 is undefined or private
(Please note: Noob here so please ELI5, thanks.)
Code Snippet:
defmodule Wallet do
use Ecto.Repo,
otp_app: :arbit,
adapter: Ecto.Adapters.Postgres
alias Ecto.Repo
#use Genserver
require ArbitDB.WalletBalance
def…

Maxximiliann
- 35
- 5
0
votes
1 answer
React Native Webscraping Attempt: undefined is not a function (near '...this.state.items.map...')
I'm new to react native (Using Expo; I'm trying to learn it for a project I'll be doing with someone else) and I've been struggling with this for a couple of hours. I have searched for solutions to this error but I could not figure it out.
I have…

Chad Wilson
- 21
- 1
- 5