| | | | |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | |
| Erfahrener Benutzer | NÖ. $tpl ist nicht gesetzt oder da steht irgendwas anderes als ein Objekt drin.
__________________ www.php-maven.org PHP und Maven vereint: Build/Deploy/Produktion/Konfiguration, Projekt Management, CI, PHPUnit, zahlreiche Frameworks Twitter @ https://twitter.com/#!/mepeisen und Facebook @ http://t.co/DZnKSUih |
| |
| | |
| Erfahrener Benutzer | Die Frage kann ich dir nicht beantworten. Vielleicht ist es gesetzt aber es steht kein Objekt drin. Ein var_dump hilft eventuell weiter.
__________________ www.php-maven.org PHP und Maven vereint: Build/Deploy/Produktion/Konfiguration, Projekt Management, CI, PHPUnit, zahlreiche Frameworks Twitter @ https://twitter.com/#!/mepeisen und Facebook @ http://t.co/DZnKSUih |
| |
| | |
| Erfahrener Benutzer | Keine Ahnung, warum das nicht funktioniert. Entweder überschreibst du das explizit oder du hast die PHP innerhalb einer Funktion per Include eingebunden. Es gibt viele Möglichkeiten dafür. Die bessere Lösung des Problems ist, keinerlei globale Variablen zu verwenden und stattdessen das Singleton- oder Registry-Pattern. Was das ist, fragst du am besten Google.
__________________ www.php-maven.org PHP und Maven vereint: Build/Deploy/Produktion/Konfiguration, Projekt Management, CI, PHPUnit, zahlreiche Frameworks Twitter @ https://twitter.com/#!/mepeisen und Facebook @ http://t.co/DZnKSUih |
| |
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| JS-Kalender funktioniert nicht im IE8 | ToxicToast | JavaScript, Ajax und mehr | 4 | 18.11.2009 16:26 |
| variable mit onclick an php | drombusch | PHP Tipps 2009 | 8 | 30.08.2009 14:45 |
| Persistence Framework | #Avedo | Software-Design | 37 | 28.03.2009 17:32 |
| [Erledigt] Fatal error: Call to a member function assign() on a non-object in ... | Cheesy | PHP Tipps 2008 | 11 | 08.10.2008 14:16 |
| Call to a member function sQuery() on a non-object | pappacoretex | PHP-Fortgeschrittene | 11 | 22.09.2008 17:23 |
| Fehlermeldung : Call to a member function foo() on a non-object | Mark Taylor | PHP Tipps 2008 | 4 | 14.09.2008 20:38 |
| Call to a member function on a non-object | campinge | PHP Tipps 2008 | 1 | 18.08.2008 02:31 |
| Call to a member function ... on a non-object | funnx | PHP Tipps 2008 | 6 | 29.07.2008 18:08 |
| Fatal error: Call to a member function on a non-object | atom-dragon | PHP Tipps 2007 | 20 | 02.12.2007 22:22 |
| Call to a member function on a non-object | Riks | PHP Tipps 2007 | 20 | 10.02.2007 22:59 |
| Problem Call to a member function on a non-object | PHP Tipps 2005 | 5 | 24.05.2005 19:14 | |
| Fatal error: Call to a member function on a non-object | PHP Tipps 2005 | 7 | 13.04.2005 07:24 | |
| update auf php 5.0.4 | robo47 | Server, Hosting und Workstations | 6 | 10.04.2005 19:00 |
| Fatal error: Call to a member function on a non-object | PHP Tipps 2005 | 15 | 04.02.2005 13:02 | |
| Call to a member function on a non-object --> WARUM ? | PHP Tipps 2004-2 | 4 | 25.11.2004 20:16 | |