Archive for March 24th, 2006

World’s Worst Code Snippet?

Check out this code snippet.

The programmer couldn’t figure out why the AccountId variable sometimes wasn’t set right, so he decided to read the value from the application’s debug log file! What the hell?!

March 24th, 2006


Calendar

March 2006
M T W T F S S
« Feb   Apr »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Warning: Illegal string offset 'head' in /home/poolpro/public_html/wp-content/themes/Blix/sidebar.php on line 112

Fatal error: Uncaught Error: Cannot use string offset as an array in /home/poolpro/public_html/wp-content/themes/Blix/sidebar.php:112 Stack trace: #0 /home/poolpro/public_html/wp-content/themes/Blix/sidebar.php(26): tla_decodeXML('HTTP/1.1 301 Mo...') #1 /home/poolpro/public_html/wp-content/themes/Blix/sidebar.php(216): tla_ads() #2 /home/poolpro/public_html/wp-includes/template.php(555): require_once('/home/poolpro/p...') #3 /home/poolpro/public_html/wp-includes/template.php(514): load_template('/home/poolpro/p...', true) #4 /home/poolpro/public_html/wp-includes/general-template.php(125): locate_template(Array, true) #5 /home/poolpro/public_html/wp-content/themes/Blix/archive.php(89): get_sidebar() #6 /home/poolpro/public_html/wp-includes/template-loader.php(75): include('/home/poolpro/p...') #7 /home/poolpro/public_html/wp-blog-header.php(16): require_once('/home/poolpro/p...') #8 /home/poolpro/public_html/index.php(17): require('/home/poolpro/p...') #9 {main} thrown in /home/poolpro/public_html/wp-content/themes/Blix/sidebar.php on line 112