![]() |
![]() |
-etup- |
![]()
Post
#1
|
Goście ![]() |
Dlaczego ten kod wyświetla taki komunikat:
Cytat Catchable fatal error: Argument 1 passed to Theme::__construct() must be an instance of Config, none given, called in /var/www/index.php on line 8 and defined in /var/www/theme.php on line 7 index.php
theme.php
config.php
Jak to naprawić? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 133 Pomógł: 8 Dołączył: 23.09.2011 Skąd: Stromiec Ostrzeżenie: (0%) ![]() ![]() |
Czy nie chodzi o to, że np. private $db; jest tylko w Theme, a w configu takiej zmiennej nie ma?
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 27.09.2025 - 08:13 |