You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strict Standards: Non-static method tmhUtilities::pr() should not be called statically in E:\xampp\htdocs\themattharris-tmhOAuth-d0b0bc6\examples\entities.php on line 85
#52
Closed
DrayChou opened this issue
May 9, 2012
· 4 comments
Strict Standards: Non-static method tmhUtilities::pr() should not be called statically in E:\xampp\htdocs\themattharris-tmhOAuth-d0b0bc6\examples\entities.php on line 85
Strict Standards: Non-static method tmhUtilities::is_cli() should not be called statically in E:\xampp\htdocs\themattharris-tmhOAuth-d0b0bc6\tmhUtilities.php on line 157
PHP Version 5.3.8
System Windows NT SRPC1193 5.1 build 2600 (Windows XP Professional Service Pack 3) i586
Build Date Aug 23 2011 11:47:20
Compiler MSVC9 (Visual C++ 2008)
Architecture x86
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--disable-isapi" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=D:\php-sdk\oracle\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet" "--with-mcrypt=static" "--disable-static-analyze"
Server API Apache 2.0 Handler
[22-May-2012 05:49:20] PHP Strict Standards: Non-static method tmhUtilities::pr() should not be called statically in E:\xampp\htdocs\themattharris-tmhOAuth-d0b0bc6\examples\entities.php on line 85
[22-May-2012 05:49:20] PHP Strict Standards: Non-static method tmhUtilities::is_cli() should not be called statically in E:\xampp\htdocs\themattharris-tmhOAuth-d0b0bc6\tmhUtilities.php on line 157
[22-May-2012 05:49:20] PHP Strict Standards: Non-static method tmhUtilities::is_cli() should not be called statically in E:\xampp\htdocs\themattharris-tmhOAuth-d0b0bc6\tmhUtilities.php on line 165
and i don't know what level of logging my system set .
change function pr($obj) to public static function pr($obj) in your tmhUtilities class. It must help you. And don't forgot to change like this all other function. I think it must help you
- changed version numbers to x.y.z format
- stronger method scoping (public and private)
- Typo fix in depenencies. (Issue #42) Props: tantek
- Only lowercase the host and scheme, and not path, in prepare_url. (Issue #56) Props: uzyn
- Fixed a number of PHP warnings by changing some tmhUtilty methods to static. (Issue #52) Props: DrayChou
- Raw headers and response body are now available as `$tmhOAuth->response['raw']`
- Moved the examples to their own repository <https://github.com/themattharris/tmhOAuth-examples>
- Removed the `noexamples` branch as master does not contain examples anymore
- Introduced `$tmhOAuth->config['timezone']` and set `date_default_timezone_set`. (Issue #70) Props: iamctodd
i've been through and made as much as i can find strict compliant in 0.7.0. if you get any more warnings open up a new issue and i'll get to fixing them.
Strict Standards: Non-static method tmhUtilities::pr() should not be called statically in E:\xampp\htdocs\themattharris-tmhOAuth-d0b0bc6\examples\entities.php on line 85
Strict Standards: Non-static method tmhUtilities::is_cli() should not be called statically in E:\xampp\htdocs\themattharris-tmhOAuth-d0b0bc6\tmhUtilities.php on line 157
when i run http://localhost/themattharris-tmhOAuth-d0b0bc6/examples/entities.php
The text was updated successfully, but these errors were encountered: