• I am getting the following notice on 5.5.9-1ubuntu4.11 and latest WP. Still seems to be fetching tweets fine.

    NOTICE: wp-content/plugins/zigtweets/oauth.php:391 – Undefined index: port
    require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/mytheme/front-page.php’), dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, widget_zigtweets->widget, TwitterOAuth->get, TwitterOAuth->oAuthRequest, OAuthRequest->to_url, OAuthRequest->get_normalized_http_url

    Thanks for forking off and making a clean working plugin, I really appreciate it!!

    https://wordpress.org/plugins/zigtweets/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hongpong

    (@hongpong)

    I also get this Fatal error when I try to use Pantheon hosting environment:

    Fatal error: Cannot redeclare class OAuthException in /[path]/code/wp-content/plugins/zigtweets/oauth.php on line 0

    Thread Starter hongpong

    (@hongpong)

    You might need to wrap it in a statement like :

    if ( ! class_exists( ‘OAuthException’ ) ) :

    to deal with the oddities of code on a host like pantheon?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Notice undefined index port on oAuth’ is closed to new replies.