wp-syntax

Sziasztok,











jóideje a wp-syntax nevű plugint használom a lapomon arra, hogy kódokat jelenítsek meg a tartalomban.





Most hívták fel a figyelmem arra, hogy 1db cikkben egy hibaüzenet olvasható a bejegyzés előtt, de nem jövök rá mi a gond. Közben találtam persze több cikket is ahol ez jelentkezik, pl.:











hxxp://www.tutorial.hu/xampp-telepitese-ubuntu-alatt/





hxxp://www.tutorial.hu/bongeszofuggo-css-feltetelek-segitsegevel/











ilyen hibaüzenetekkel van tele a cikk:









Code:



Warning: array_keys() [function.array-keys]: The first argument should be an array in /usr/home/harder/domains/tutorial.hu/public_html/wp-content/plugins/wp-syntax/geshi/geshi.php on line 1827



Warning: Invalid argument supplied for foreach() in /usr/home/harder/domains/tutorial.hu/public_html/wp-content/plugins/wp-syntax/geshi/geshi.php on line 1827



Warning: Invalid argument supplied for foreach() in /usr/home/harder/domains/tutorial.hu/public_html/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2180



Warning: Invalid argument supplied for foreach() in /usr/home/harder/domains/tutorial.hu/public_html/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3025



Warning: implode() [function.implode]: Argument must be an array in /usr/home/harder/domains/tutorial.hu/public_html/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3077



Warning: array_keys() [function.array-keys]: The first argument should be an array in /usr/home/harder/domains/tutorial.hu/public_html/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3108



Warning: Invalid argument supplied for foreach() in /usr/home/harder/domains/tutorial.hu/public_html/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3108



Warning: array_keys() [function.array-keys]: The first argument should be an array in /usr/home/harder/domains/tutorial.hu/public_html/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3151



Warning: Invalid argument supplied for foreach() in /usr/home/harder/domains/tutorial.hu/public_html/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3151



Warning: array_keys() [function.array-keys]: The first argument should be an array in /usr/home/harder/domains/tutorial.hu/public_html/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3292








Az első linken látható bejegyzés első karakterei ezek:





Code:



Először is pár szót arról, hogy ...








Tehát nincs a hibának olyan oka, hogy mondjuk valami kódrészletet rosszul tettem volna be ott vagy lezáratlan maradna vagy ilyesmi...





Megnéztem véletlenszerűen más cikkeket is ahol használatban van a megjelenített kódok miatt a wp-syntax, de nem találtam máshol ilyen jellegű hibát.





A cikkhez nincs egyedi template rendelve, az összes post a


wp-content/themes/default/single.php


template fájlt használja.





kapcsolódó linkek:


wp-syntax: http://wordpress.org/extend/plugins/wp-syntax/





Közben keresgélek én is a neten hogy mi lehet a gond, de gondoltam hátha valaki innen gyorsabban tud segíteni mint ahogy én rájövök, elég csúnya hiba és szeretném minnél gyorsabban javítani.


Ha meglesz a megoldás, akkor megírom persze.





thx előre is,


Harder

Egyelőre annyi biztos, hogy a legutolsó wp-syntax plugin verzió ütközik a “Add HTML Blokk in the post Text” pluginnel, úgyhogy kiszedtem a lapból az utóbbit és most rá kell frissíteni admin-on a cikkekre, hogy megint jól jelenjenek meg (cache miatt).

Köszi!