NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Strange Error Message


Joined: 04 Apr 2008
Posts: 2
Reply with quote
I got error message
=================
Error: E_ERROR
Call to undefined function x2()
at /a/b/c/d/YY.php line 25
==========================
However, the function X1() in the same include file was executed before this error message.
Previously, I had the same problem with X1(), but somehow the error message went away and the system started to run under debug mode.

We recently upgraded to NuSphere 5.2.

I never had the problem like this in NuSphere 4.5.
View user's profileFind all posts by tmotoyamaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
This is an error produced by php itself and sounds like you have a missed include() or a unresolved include(). PhpED is not involved in the process of running php and may not make your functions defined or undefined. Please check your code logic.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
cause was the invisible character (A0h)


Joined: 04 Apr 2008
Posts: 2
Reply with quote
I found the cause.

When I was creating the code, I opened the specification document.

The document contains the control characters that were copied into the PHP editor.

I checked the code with Hex Editor and confirmed the problem.

I will be careful in the future about the control characters.
View user's profileFind all posts by tmotoyamaSend private message
[resolved] Strange Error Message
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
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic