Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Illegal string offset
radecki62123
post
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 17.07.2013

Ostrzeżenie: (0%)
-----


Warning: Illegal string offset 'order' in D:\Inetpub\webs\2034_web\www\wp-content\themes\estatement\functions.php on line 834
Warning: Illegal string offset 'order' in D:\Inetpub\webs\2034_web\www\wp-content\themes\estatement\functions.php on line 835

na stronie na platformie wordproess pokazują mi się takie właśnie komunikaty, zawartością pliku function.php w podanych linijkach jest:
  1. $options['customdatas'][$key]['order'] = $i;
  2. $data['order'] = $i;


Będę bardzo wdzięczny za pomoc (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
wujek2009
post
Post #2





Grupa: Zarejestrowani
Postów: 350
Pomógł: 31
Dołączył: 23.05.2010

Ostrzeżenie: (0%)
-----


Sprawdź czy klucz "order" istnieje za pomocą array_key_exists
  1. if ( array_key_exists('order', $options['customdatas'][$key]) )
  2. {
  3. $options['customdatas'][$key]['order'] = $i;
  4. $data['order'] = $i;
  5. }
Go to the top of the page
+Quote Post

Posty w temacie
- radecki62123   Illegal string offset   17.07.2013, 11:19:47
- - buliq   Wczytaj się w błąd pomoc   17.07.2013, 11:53:40
- - wujek2009   Sprawdź czy klucz "order" istnieje za po...   19.07.2013, 12:57:01


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 12.10.2025 - 04:01