146 questions
0
votes
0
answers
125
views
Extensions are not available for additional PHP version in Wampserver
I have Wampserver running on Windows 11 with a PHP/MySQL web site running fine in PHP 7.4.26.
I had to install PHP 7.1.33 for comparative testing purposes. Under 7.1, the site isn't working at all.
...
0
votes
0
answers
157
views
Detect unimplemented class methods without a program failing to link
Suppose I am working on a library with a decent number of classes, most of them having a bunch of methods, in addition to the basic ctors and dtor. For reasons, the method implementations are spread ...
0
votes
0
answers
75
views
"Undefined Function" in query
I have created a Public Function to calculate the Working Days between 2 different dates. I have following every step of a Youtube Video explaining how to do this. But when I create a field for this ...
1
vote
1
answer
287
views
Vite + Typescript can't call onClick function, not defined
I am working on weather app in Vite + Typescript, no framework, just plain TS.
I want to have delete function for each weather list item. When I click on delete button clickedID gets passed down to ...
0
votes
0
answers
42
views
Laravel Error: Call to undefined function [duplicate]
I have defined a debug_to_console function in the public/index.php file in the global namespace
I am trying to access this function inside the App\Providers\AppServiceProvider class in the boot() ...
1
vote
1
answer
2k
views
Livewire V3 Call to undefined function Livewire\Concerns\data_forget()
Please, I need help about this
I use Laravel 10, Livewire version 3,
when run in WSL2 at localhost, this code have no problem.
but if run in a production at linux serve ubuntu, i have this error:
Call ...
0
votes
1
answer
947
views
Undefined is not a function - react-native onPress
undefined is not a function error that points to this line in my code:
onPress={() => handleCardPress(item)}
I'm following along with this tutorial:
React-Native App
I tried adding this to test if ...
0
votes
1
answer
495
views
Wordpress call to undefined function update_plugin() when handling php forms [duplicate]
I am creating a wordpress plugin that takes form inputs and stores them as wordpress options. However, I receive the error Fatal error: Uncaught Error: Call to undefined function update_option() in C:\...
1
vote
0
answers
78
views
Autoload not pulling in use_helper() after upgrading Symfony 1.4 project to PHP 8.2 via FriendsOfSymfony
I'm attempting to upgrade a large legacy Symfony 1.4 project to run under PHP 8.2 (currently running under PHP 5.6) using the FriendsOfSymfony project. Upgrade to Symfony 5.4 will come later when we ...
0
votes
1
answer
1k
views
Phoenix LiveView - (UndefinedFunctionError) no function clause matching with event_handler without any event to handle
This seems to be strange for me, but without any updates of libraries or even elixir part of app doesnt work like before.
I have got few views which show list of products, categories, brands etc. ...
0
votes
1
answer
109
views
Undefined function in React
I am having an error: Cannot read properties of undefined reading((Id)).
const PostWidget = ({
postId,
postUserId,
name,
description,
location,
picturePath,
...
0
votes
1
answer
1k
views
how can I use getline function in c? [duplicate]
I am trying to use getline() function. I am using correct syntax I guess and also I have included #include<stdio.h> header file also. Still it is showing that [Error] 'getline' was not declared ...
0
votes
1
answer
867
views
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 ...
0
votes
1
answer
3k
views
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 "...
0
votes
1
answer
47
views
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....
1
vote
0
answers
463
views
How do I make sure that a function is not undefined in typescript?
I'm sorry for the terrible title, but I have the following situation:
I'm using angular with Knova node package to create a webapp for my thesis work to finish Uni.
I have two components on one of my ...
2
votes
1
answer
161
views
NodeJS Mongoose with Transactions | Can't find Schemafunction
I have here the following non-working minimalexample where i want to call customer.hello() but I will get an TypeError: customer.hello is not a function.
//app.js
require("dotenv").config();
...
0
votes
0
answers
17
views
Uncaught Error: Call to undefined function bmiCalculation() [duplicate]
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 ...
1
vote
1
answer
201
views
Undefined method 'id' error using collection_select with form_for in Ruby on Rails
I'm having an issue with collection_select using form_for in rails. This issue is coming from a method that was working until I namespaced my routes to be only for admin. The admin routes are working ...
1
vote
1
answer
356
views
type error dialog.showmessageBoxSync is not a function
I just started using electron and fail to use showmessageBoxSync: it returns the error:
type error dialog.showmessageBoxSync is not a function
isn't showmessageBoxSync a member of dialog which is a ...
0
votes
3
answers
3k
views
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 ...
0
votes
0
answers
454
views
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: ...
0
votes
2
answers
162
views
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 ...
0
votes
1
answer
415
views
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
...
-1
votes
1
answer
1k
views
Call to undefined function getClientOriginalName() in Laravel 8 [closed]
I want to use the function getClientOriginalName() for making a new name for the photo I take from the user. But as I said before, it displays an error that says that this function is undefined.
$pic =...
0
votes
2
answers
543
views
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 ...
-1
votes
1
answer
250
views
What is wrong with Undefined function A? (lisp)
Have to write a program that asks the user for input until they input 0. Then must output the minimum value for number that were inputted. I am new to lisp and i keep getting undefined function A in ...
3
votes
1
answer
2k
views
PHP Fatal error: Call to undefined function Laravel tinker
I'm trying to establish a relation between two tables (Roles and Abilities) but when I run the function allowTo() it says is undefined.
I tried to clear the cache and config but didn't do anything.
If ...
0
votes
1
answer
606
views
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 = ...
0
votes
1
answer
302
views
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 ...
0
votes
1
answer
415
views
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
...
1
vote
1
answer
883
views
I'm getting BadMethodCallException "Client::confidential()" from Laravel passport with MongoDB
I'm getting this error, and I didn't understand why
Call to undefined method DesignMyNight\\Mongodb\\Passport\\Client::confidential()
Knowing that I'm using MongoDB as a database
I sent a POST ...
0
votes
1
answer
363
views
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 ...
2
votes
2
answers
154
views
g++ compiler not generating error/warning for undefined methods
I have a class that has a declared method but not defined/used anywhere. I expected this piece of code to generate linking error but it did not. Looks like compiler is smart enough to remove dead code....
0
votes
1
answer
62
views
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, ...
0
votes
2
answers
80
views
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 ...
0
votes
2
answers
1k
views
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: https:...
0
votes
2
answers
67
views
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.
...
0
votes
2
answers
1k
views
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.
...
0
votes
0
answers
645
views
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 ...
0
votes
1
answer
360
views
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
...
-1
votes
1
answer
272
views
Yii2 Call to undefined method setuser
I'm using Yii2 module dektrium/yii2-user for user sign-up/sign-in and get the aforementioned error while trying to register.
PHP User Error – yii\base\ErrorException.
in C:\xampp\htdocs\hello\vendor\...
0
votes
1
answer
257
views
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 ...
-2
votes
2
answers
1k
views
Eclipse method undefined even though I defined it, cleaned my project, checked the buildpath, and punched my computer
I'm writing some code for school (a test class and a primary class), and when I create a test class, the methods I call from the primary class are "undefined for type CylinderTest". When I try to run ...
0
votes
1
answer
857
views
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->...
0
votes
1
answer
1k
views
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 ...
0
votes
1
answer
80
views
I can't find what's wrong with my PHP code. Can anyone see an error? [duplicate]
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()...
0
votes
1
answer
502
views
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\\...
1
vote
3
answers
4k
views
The method is undefined for the type T
I am trying this example, but can't make it work; it throws The method getFromInt(int) is undefined for the type T
T is a generic enum type
public static <T> T deserializeEnumeration(...
0
votes
1
answer
152
views
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:$...