Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
125 views

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. ...
user avatar
0 votes
0 answers
157 views

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 ...
einpoklum's user avatar
  • 138k
0 votes
0 answers
75 views

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 ...
Sara Soliman's user avatar
1 vote
1 answer
287 views

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 ...
Darius Molotokas's user avatar
0 votes
0 answers
42 views

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() ...
fadee's user avatar
  • 1
1 vote
1 answer
2k views

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 ...
davidantoniovc's user avatar
0 votes
1 answer
947 views

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 ...
codereyes's user avatar
0 votes
1 answer
495 views

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:\...
maxipoo's user avatar
1 vote
0 answers
78 views

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 ...
justdave's user avatar
0 votes
1 answer
1k views

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. ...
Mateusz Babski's user avatar
0 votes
1 answer
109 views

I am having an error: Cannot read properties of undefined reading((Id)). const PostWidget = ({ postId, postUserId, name, description, location, picturePath, ...
olamide's user avatar
0 votes
1 answer
1k views

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 ...
Burhan Aijaz's user avatar
0 votes
1 answer
867 views

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 ...
Showkii Paa's user avatar
0 votes
1 answer
3k views

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 "...
ckatz's user avatar
  • 23
0 votes
1 answer
47 views

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....
Tiffany Smith's user avatar
1 vote
0 answers
463 views

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 ...
Benjamin's user avatar
2 votes
1 answer
161 views

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(); ...
swftowu69's user avatar
  • 383
0 votes
0 answers
17 views

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 ...
user avatar
1 vote
1 answer
201 views

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 ...
mycupisoverflowing's user avatar
1 vote
1 answer
356 views

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 ...
Jack's user avatar
  • 16.7k
0 votes
3 answers
3k views

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 ...
Imtiaz Ahmed's user avatar
0 votes
0 answers
454 views

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: ...
ableryder's user avatar
0 votes
2 answers
162 views

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 ...
Adil Hashmi's user avatar
0 votes
1 answer
415 views

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 ...
giovannibrumana's user avatar
-1 votes
1 answer
1k views

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 =...
Ismail OUCHAOU's user avatar
0 votes
2 answers
543 views

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 ...
Yarden Adi's user avatar
-1 votes
1 answer
250 views

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 ...
jessopiun's user avatar
3 votes
1 answer
2k views

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 ...
Becks's user avatar
  • 33
0 votes
1 answer
606 views

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 = ...
Nicole's user avatar
  • 1
0 votes
1 answer
302 views

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 ...
Samuel Magharious's user avatar
0 votes
1 answer
415 views

(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 ...
Maxximiliann's user avatar
1 vote
1 answer
883 views

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 ...
Khalil Bz's user avatar
  • 607
0 votes
1 answer
363 views

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 ...
Chad Wilson's user avatar
2 votes
2 answers
154 views

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....
Rachit Agrawal's user avatar
0 votes
1 answer
62 views

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, ...
simo110's user avatar
  • 15
0 votes
2 answers
80 views

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 ...
Marguerite Rose Kennish's user avatar
0 votes
2 answers
1k views

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:...
Gabrielle Lucies-Yantis's user avatar
0 votes
2 answers
67 views

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. ...
monsterpiece's user avatar
0 votes
2 answers
1k views

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. ...
Sparky's user avatar
  • 98.8k
0 votes
0 answers
645 views

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 ...
faniiruh's user avatar
0 votes
1 answer
360 views

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 ...
Savad's user avatar
  • 1,336
-1 votes
1 answer
272 views

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\...
tnsaturday's user avatar
0 votes
1 answer
257 views

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 ...
Sushodhan V's user avatar
-2 votes
2 answers
1k views

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 ...
Brandon_J's user avatar
  • 195
0 votes
1 answer
857 views

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->...
wanderlusted's user avatar
0 votes
1 answer
1k views

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 ...
Stephen Phillips's user avatar
0 votes
1 answer
80 views

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()...
Hannah's user avatar
  • 1
0 votes
1 answer
502 views

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\\...
Masoud Erfani's user avatar
1 vote
3 answers
4k views

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(...
Salem Masoud's user avatar
0 votes
1 answer
152 views

enter image description here[enter image description here][2] Error:- Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined function imagecreatefromjpeg() Function trigger:$...
Akshay Patwari's user avatar