Forum


Replies: 1   Views: 4479
Error when trying to run
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by sullivanjc  · 16-04-2012 - 14:36

When I try to run a script with Pro I get the following error:

[b]Trying to get property of non-object in D:\TNET01\www\include\phpdocx_pro\classes\CreateDocx.inc on line 627[/b]

The script worked fine in free version. The only thing I changed in the script is the location of the pro version. This appears to be correct since the error is referencing a file there.

I get this when I run using the url registered (TNET01) or when I run on the server itself and use 127.0.0.1. The browser changes the URL to lower case when I use the former but the computer name and its host entry is the upper case I registered under. Would this matter?

I copied the key number only into the classes/code file. Should there be anything else there? If so, an example would be nice