2015年07月13日

カスタム投稿タイプを追加 ~function.phpにコードを書け~


Fatal error: Uncaught Error: Call to a member function id() on array in /home/mr-sunflower/www/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /home/mr-sunflower/www/blog/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/mr-sunflower/www/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', '// \xE3\x82\xAB\xE3\x82\xB9\xE3\x82\xBF\xE3\x83\xA0...') #3 /home/mr-sunflower/www/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('// \xE3\x82\xAB\xE3\x82\xB9\xE3\x82\xBF\xE3\x83\xA0...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /home/mr-sunflower/www/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->proc in /home/mr-sunflower/www/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36