Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
33 views

VIEW: <form method='post' action="<?php echo base_url('Reg_form/save')?>" enctype="multipart/form-data" name="reg_form"> <div class="form-row"&...
Muhammed Uzair KIM's user avatar
-5 votes
1 answer
484 views

My previous search method was running well after I implemented the method for calculations **i got error undefined variable $formulas C:\xampp\htdocs\MedusaDashboard\resources\views\superadmin\search....
Bisma Arumsyah's user avatar
0 votes
1 answer
78 views

I am relative new to JavaScript.I have a "strange" problem: I have two input fields which when I click the sndBtn (clickEventListener), then 3 functions are called, all with a fetch/get ...
cube4d's user avatar
  • 31
-1 votes
1 answer
4k views

The below ansible code fails with the error: The task includes an option with an undefined variable. The error was: 'storage_size_gb' is undefined - debug: msg: "{{ mongo_output_withoutvar....
Ashar's user avatar
  • 3,195
0 votes
0 answers
194 views

Just learning the ins and outs about SASS and I've run into a problem with variables. I have created a utility folder with my fonts file. In the fonts file, I created a variable called $font. When I ...
Dswayed39's user avatar
4 votes
1 answer
2k views

I noticed that Visual Studio Code is not showing an error about undefined variables. For example: <?php if ($test > 2) { echo 'hi'; } ?> If I run the code above, I would ...
celalk38's user avatar
1 vote
0 answers
690 views

Error in this statement that auth is not defined after i already defined it. You can check the code. import tweepy consumer_key = 'xxx' consumer_secret = 'xxx' callback_url = 'ooo' auth = tweepy....
Juice's user avatar
  • 11
3 votes
4 answers
3k views

I am new to laravel kindly help me out to solve this error. This is my controller function "edit" public function edit($id) { $user = User::find($id); return view('users.edit-profile'...
Timothy's user avatar
  • 77
0 votes
2 answers
4k views

I am getting "undefned value of .env in nodejs. my .env file is on root directory.need help my code for .env file:- SECRET_KEY=mynameissuky my app.js file:- require('dotenv').config(); console....
sandy gill's user avatar
1 vote
2 answers
320 views

I am trying to migrate my foreign key and display the list of employees in company form. for that: 1.My CompaniesController public function index(){ $cat = Company::all(); return view(view:...
Barshu Mhzn's user avatar
-1 votes
1 answer
333 views

I am trying to create a program that when a dogs age is inputted it will figure out the age in human years. If a negative number is inputted it should print that a negative number is not valid. Also ...
Roofener's user avatar
0 votes
1 answer
620 views

I think there is no error but Laravel shows the following error: Undefined variable: jobs public function jobCreate(Request $request){ $data['jobs'] = DB::table('jobs')->get(); $...
Mehedi Hasan's user avatar
1 vote
4 answers
208 views

I have this code: class Pet(object): def __init__(self,name=""): self.name = name self.kind = "Unknown" self.toys = [] def add_toys(self,toys): ...
Håkan Mjölk's user avatar
1 vote
1 answer
1k views

I am getting a strange error when defining variables in Python 4.1.5 (IDE:Spyder). However, even with the error, the code runs without any issues! As you can see, the variable social_cost_of_carbon is ...
sophocles's user avatar
  • 13.9k
0 votes
0 answers
16 views

I am currently creating a class named pizza in php with two attributes: name and price. <?php class Pizza{ private $name; private $price; public function ...
flubin99's user avatar
2 votes
1 answer
1k views

I want to know how the existence of a variable passed into a function can be checked before applying more operations on them inside the function. So that if a variable is not found, it could be ...
Mahrokh's user avatar
  • 93
2 votes
1 answer
801 views

I want to display to select the campus from the campuses table in my budget allocation create.blade.php template but it displays an error. create.blade.php <div class="form-group row"> ...
Jann Vincent Paul Lagmay's user avatar
0 votes
1 answer
240 views

I'm unable to redirect my controller to the same view index.blade.php after store method, it gives an error Undefined Variable :users, while I redirect through index method, it works fine. How do i ...
Saima Naseem's user avatar
0 votes
1 answer
705 views

I have a form where user can select either book or beauty radio button. Code is working fine on book but showing an error on beauty. Code is the same except data fetch from database is different. I ...
Noman marwat's user avatar
1 vote
1 answer
1k views

I´m a beginner starting with Laravel. I´m trying to show a question made on this website. Here is the Controller page: public function show($id) { //Use the model to get 1 record from the ...
José Rafael Moro Galindo's user avatar
1 vote
1 answer
3k views

I have this piece of code as a javascript custom variable in the Google Tag Manager. I would like to get breadcrumbs content. This part of the code works well. But some pages do not have breadcrumbs,...
Vít Rabiňák's user avatar
0 votes
0 answers
573 views

I have a class ReadBugXML in a folder called code and I added a __init__.py to make the code as a package. main.py and code are in the root folder. My main file looks like this. import sys from code ...
akalanka's user avatar
  • 617
1 vote
3 answers
593 views

I found it seems only in lisp can define this: (lambda (x)(+ x y 1)) in other languages,even it's functional language,a variable must define first,then to use it so in lisp,there is concept "free ...
wang kai's user avatar
  • 1,767
0 votes
0 answers
49 views

I get this error: Undefined variable: design_json_data (View: D:\xampp\htdocs\shopist\resources\views\pages\frontend\frontend-pages\frontend-designer.blade.php) There is a designer where I add ...
Medin Smaili's user avatar
0 votes
2 answers
102 views

I am facing an issue with an undefined variable in a blade view for my Laravel project. I believe I have defined everything correctly This is the line in the blade view which is causing my issue. &...
Brendan's user avatar
  • 109