PHP NOTICE about port
NOTICE: /Users/dotrakoun/Sites/arnold/arn.com/plugins/arndotcom-twitter/twitteroauth/OAuth.php:385 - Undefined index: port
Hi,
I get the same error. I`ve implemented the function inside a WordPress theme to generate some twitter feeds. The error is not persistent, meaning that it appears and then disappears on page refresh, but is quite annoying.
I tried to modify $port = @$parts['port']; to if(!empty($port)) { $port = @$parts['port']; } but with no luck.
Any thoughts on this?
Thanks!
Shouldn't you check if @$parts['port'] isn't empty in stead of $port? As he will complain the key doesn't exist in this array (@$parts).
On 19 Aug 2013, at 23:34, pseudonymus [email protected] wrote:
Hi,
I get the same error. I`ve implemented the function inside a WordPress theme to generate some twitter feeds. The error is not persistent, meaning that it appears and then disappears on page refresh, but is quite annoying.
I tried to modify $port = @$parts['port']; to if(!empty($port)) { $port = @$parts['port']; } but with no luck.
Any thoughts on this?
Thanks!
— Reply to this email directly or view it on GitHub.
there was some port handling improvements recently added