Useful PHP Snippets
Warning: Undefined array key 0 in /var/www/html/blogs/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 532
Fatal error: Uncaught Error: Call to a member function id() on array in /var/www/html/blogs/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /var/www/html/blogs/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code() #1 [internal function]: CrayonFormatter::delim_to_internal() #2 /var/www/html/blogs/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback() #3 /var/www/html/blogs/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code() #4 /var/www/html/blogs/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process() #5 /var/www/html/blogs/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php(703): CrayonHighlighter->output() #6 /var/www/html/blogs/wp-includes/class-wp-hook.php(324): CrayonWP::the_content() #7 /var/www/html/blogs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #8 /var/www/html/blogs/wp-includes/post-template.php(256): apply_filters() #9 /var/www/html/blogs/wp-content/themes/twentyfourteen/content-page.php(21): the_content() #10 /var/www/html/blogs/wp-includes/template.php(812): require('...') #11 /var/www/html/blogs/wp-includes/template.php(745): load_template() #12 /var/www/html/blogs/wp-includes/general-template.php(206): locate_template() #13 /var/www/html/blogs/wp-content/themes/twentyfourteen/page.php(33): get_template_part() #14 /var/www/html/blogs/wp-includes/template-loader.php(106): include('...') #15 /var/www/html/blogs/wp-blog-header.php(19): require_once('...') #16 /var/www/html/blogs/index.php(17): require('...') #17 {main} thrown in /var/www/html/blogs/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36