Jan 6, 2009 -
PHP, Wordpress
12 Comments


WordPress: display posts by category ID. Solution with code & example.
Fatal error: Uncaught Error: Call to a member function id() on array in /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', '<?php\r\n\r\n\tif(!f...') #3 /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('<?php\r\n\r\n\tif(!f...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process() #5 /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-high in /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36