ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> Programming

PHP error line number is invalid

Author Message
Stuli



Joined: 15 Jul 2019
Posts: 1

PostPosted: Mon Jul 15, 2019 4:05 pm    Post subject: PHP error line number is invalid Reply with quote

I got a PHP error like this:
[15-Jul-2019 13:19:16 Europe/Budapest] PHP Notice: Undefined index: name in D:\www\config\functions.php on line 1019

The problem: only 70 lines in functions.php.
Back to top
View user's profile Send private message
alastair



Joined: 23 Feb 2010
Posts: 378

PostPosted: Tue Jul 16, 2019 8:15 am    Post subject: Reply with quote

Hi,

It is usually best to ask such questions in our Support Help Desk at https://support.ioncube.com

I am guessing that is with an encoded functions.php file.

Due to some of the source code protection included in the encoded files, line numbers can be incorrect in error messages even when line number obfuscation has not been used.

We did put in a correction for that with regard to undefined variables in the 10.3.5 release of the ionCube Loader. However, that did not include the case that you mention when an array index is unknown.
_________________
Alastair

ionCube
Back to top
View user's profile Send private message
alastair



Joined: 23 Feb 2010
Posts: 378

PostPosted: Fri Aug 23, 2019 2:46 pm    Post subject: Reply with quote

We have now released version 10.3.8 of the ionCube Loader that includes a fix for the problem of incorrect line numbers appearing in error messages about undefined array indexes.
_________________
Alastair

ionCube
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> Programming All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum