![]() |
|
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | NameDrive | Domain Parking | Subscribe to our Domains For Sale newsletter |
| | ||||||
| Home | Register | Rules | Membership Upgrade | Domains For Sale | Domain Name Escrow | Mark Forums Read | Domain Classified | Chat Room |
| Scripts and Coding PHP, MySQL, scripts |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Junior Member | Notice: Trying to get property of non-object in
Hello, I have this error now when I run my php code: Notice: Trying to get property of non-object in C:\Program Files\EasyPHP5.3.0\www\New Folder\trial.php on line 39 Line 39 is: printf('<a href="%s" title="%s">%s (%d) %s %s</a>', $obj->imdburl, $obj->title, $obj->title, $obj->year, $obj->country, $obj->genres); I read online that it maybe to do with the error reporting in the php.ini file and the default should be: Default Value: E_ALL & ~E_NOTICE Mine is and it still has the error any ideas anyone? |
| |
| | #2 (permalink) |
![]() |
It means you are trying to access something that isn't there e.g. a field, or part of the object $obj->imdburl, $obj->title, $obj->title, $obj->year, $obj->country, $obj->genres one, or all of the fields (items after ->) aren't properly setup if you do a Code: die(print_r($obj)); |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Domain Name Community | Replies | Last Post |
| Sedo Announces Strategic Partnership with Intellectual Property Management | sedo | Sedo | 2 | 16-04-2009 05:02:37 PM |
| New twist to old issue of 'taking' of property - San Diego Union Tribune | RSS | Domain Name News | 0 | 04-05-2008 01:59:31 PM |
