Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ajax'@'localhost' (using password: NO) in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ajax'@'localhost' (using password: NO) in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ajax'@'localhost' (using password: NO) in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ajax'@'localhost' (using password: NO) in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ajax'@'localhost' (using password: NO) in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ajax'@'localhost' (using password: NO) in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/ajax/sakano.com/public_html/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786
今日のしくじり - サカノシステム設計事務所

今日のしくじり

2018-05-06

2018.05.06

と書くべきところを、

と書いてしまっていたため、意図せずレイトバインディングになり、Httpクラスに存在しないメソッドを呼び出していることをコンパイラが検知できない状態となっていた。

最初は下記のように古いスタイルの書き方をしていたため、手直しをした際に間違えてしまったことが原因。

リファクタリングしたがために逆にバグを作り込んでしまうという、もっともトホホなことをやってしまったというわけです。これは辛い。

 

Copyright© 2012-2016 サカノシステム設計事務所 All Rights Reserved.