undefined-index Questions

14

Solved

I'm trying to loop through an array and delete and skip the elements until only one is existing. i've tried splicing but it messes up my loop because the element from arr[1] then becomes arr[0] etc...
Weiss asked 7/3, 2012 at 5:4

3

I have read the other questions, none have answered nor helped me. Here is my issue, I have an object/array which contains a property which is also an object/array. I have successfully accessed ...
Dev asked 10/5, 2017 at 18:44

10

Solved

I am trying to relearn some PHP basics for making a simple login script, however I get an error I have not received before(I made the same script a little over a year ago and never had this e...
Aura asked 30/5, 2012 at 4:19

1

Solved

I'm receiving the error below when using phpMyAdmin. It's occurring every time I create any table. Notice in ./libraries/structure.lib.php#1881 Undefined index: Rows Backtrace ./libraries/stru...
Thermonuclear asked 29/3, 2015 at 14:39

1

Solved

When I try to access an array by key which is not exists in this array, php will raise "undefined index" notice error. When I try to do the same on strings, "Illegal string offset " warning is rais...
Wear asked 9/9, 2014 at 0:18

2

I have written a Symfony command to import some data from an API. It works but the problem is my PHP memory usage increases when I insert a big JSON in my database. And my unitOfWork increases by '...
Tussah asked 9/7, 2012 at 10:8

29

Solved

I'm running a PHP script and continue to receive errors like: Notice: Undefined variable: my_variable_name in C:\wamp\www\mypath\index.php on line 10 Notice: Undefined index: my_index C:\wamp\www\...
Kemp asked 23/11, 2010 at 21:26
1

© 2022 - 2024 — McMap. All rights reserved.