Questions tagged [undefined-index]

An index is undefined if it is not part of the array being accessed. Use this tag for questions regarding behaviour of undefined indexes or when you see undefined indexes where you don't expect them.

This notice appears when you try to access an undefined index of an array. These commonly appear when working with $_POST, $_GET or $_SESSION variables in PHP.

Use this tag for questions about the behaviour of undefined indexes or when you see undefined indexes where you don't expect them.

276 questions
0
votes
1 answer

Undefined index: product in ps_sharebuttons.php on line 140

I have thousands errors in error_log file,there are large rows with one error : PHP Notice: Undefined index: product in /home/ngya/public_html/modules/ps_sharebuttons/ps_sharebuttons.php on line 140 and the line 140 looks like : 140 …
0
votes
2 answers

"Notice: Undefined index..." error on web server but works perfectly on localhost

I only have two files, but get Notice: Undefined index... error with the session when running on web server, but it works perfectly on localhost login.php:
0
votes
1 answer

Symfony Undefined index

I am creating an application that fetches and search for product name from different sources (DB, XML, JSON, ...)(for this code Im testing only with the DB), my idea was to create an interface for that. I created the interface…
Ali monji
  • 1
  • 3
0
votes
0 answers

Undefined index: image php insert

I'm making a web page that can send data from inputs to my database it was working untill I decided to have a file input to send an image to my database I've read lots of articles and questions but nothing works Please Can you help me !!! *Notice:…
Kyu Wiam
  • 1
  • 1
0
votes
0 answers

Undefined Index: name in php and unlink error

//deleteimage.php file
Nishat Sayyed
  • 151
  • 2
  • 10