[wp-trac] [WordPress Trac] #37735: Can not proceed with plugin upgrades after upgrade of core WP to 4.6

WordPress Trac noreply at wordpress.org
Fri Aug 19 13:14:18 UTC 2016


#37735: Can not proceed with plugin upgrades after upgrade of core WP to 4.6
--------------------------+------------------------------
 Reporter:  pmirek        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP API      |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Description changed by swissspidy:

Old description:

> Versions:
> ./wp-cli.phar plugin search "test" --path=/apps/knowledge_base/wordpress/
> WordPress version: 4.6
> Database revision: 37965
> TinyMCE version: 4.401 (4401-20160726)
>
> wp-cli : latest version
> curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-
> cli.phar
>
> Errors:
> ./wp-cli.phar plugin search "test" --path=/apps/knowledge_base/wordpress/
> PHP Notice: Undefined index: SERVER_PORT in
> /apps/knowledge_base/wordpress/wp-content/plugins/ajax-search-
> lite/includes/functions/functions.php on line 514
> Notice: Undefined index: SERVER_PORT in /apps/knowledge_base/wordpress
> /wp-content/plugins/ajax-search-lite/includes/functions/functions.php on
> line 514
> PHP Notice: Undefined index: SERVER_NAME in
> /apps/knowledge_base/wordpress/wp-content/plugins/ajax-search-
> lite/includes/functions/functions.php on line 515
> Notice: Undefined index: SERVER_NAME in /apps/knowledge_base/wordpress
> /wp-content/plugins/ajax-search-lite/includes/functions/functions.php on
> line 515
> PHP Notice: Undefined index: SERVER_PORT in
> /apps/knowledge_base/wordpress/wp-content/plugins/ajax-search-
> lite/includes/functions/functions.php on line 515
> Notice: Undefined index: SERVER_PORT in /apps/knowledge_base/wordpress
> /wp-content/plugins/ajax-search-lite/includes/functions/functions.php on
> line 515
> PHP Warning: An unexpected error occurred. Something may be wrong with
> WordPress.org or this server’s configuration. If you continue to have
> problems, please try the support forums. (WordPress could not establish a
> secure connection to WordPress.org. Please contact your server
> administrator.) in /apps/knowledge_base/wordpress/wp-admin/includes
> /plugin-install.php on line 158
> Warning: An unexpected error occurred. Something may be wrong with
> WordPress.org or this server’s configuration. If you continue to have
> problems, please try the support forums. (WordPress could not establish a
> secure connection to WordPress.org. Please contact your server
> administrator.) in /apps/knowledge_base/wordpress/wp-admin/includes
> /plugin-install.php on line 158
> Error: An unexpected error occurred. Something may be wrong with
> WordPress.org or this server’s configuration. If you continue to have
> problems, please try the support forums. Try again
>
> This one is because of some connectivity issue. May be related to latest
> fixes:
> https://core.trac.wordpress.org/ticket/37494
>
> http_proxy sys env works fine, as I can access wordpress plugins zip
> files manually with curl or wget.

New description:

 Versions:

 {{{
 ./wp-cli.phar plugin search "test" --path=/apps/knowledge_base/wordpress/
 WordPress version: 4.6
 Database revision: 37965
 TinyMCE version: 4.401 (4401-20160726)

 wp-cli : latest version
 curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-
 cli.phar
 }}}

 {{{
 Errors:
 ./wp-cli.phar plugin search "test" --path=/apps/knowledge_base/wordpress/
 PHP Notice: Undefined index: SERVER_PORT in /apps/knowledge_base/wordpress
 /wp-content/plugins/ajax-search-lite/includes/functions/functions.php on
 line 514
 Notice: Undefined index: SERVER_PORT in /apps/knowledge_base/wordpress/wp-
 content/plugins/ajax-search-lite/includes/functions/functions.php on line
 514
 PHP Notice: Undefined index: SERVER_NAME in /apps/knowledge_base/wordpress
 /wp-content/plugins/ajax-search-lite/includes/functions/functions.php on
 line 515
 Notice: Undefined index: SERVER_NAME in /apps/knowledge_base/wordpress/wp-
 content/plugins/ajax-search-lite/includes/functions/functions.php on line
 515
 PHP Notice: Undefined index: SERVER_PORT in /apps/knowledge_base/wordpress
 /wp-content/plugins/ajax-search-lite/includes/functions/functions.php on
 line 515
 Notice: Undefined index: SERVER_PORT in /apps/knowledge_base/wordpress/wp-
 content/plugins/ajax-search-lite/includes/functions/functions.php on line
 515
 PHP Warning: An unexpected error occurred. Something may be wrong with
 WordPress.org or this server’s configuration. If you continue to have
 problems, please try the support forums. (WordPress could not establish a
 secure connection to WordPress.org. Please contact your server
 administrator.) in /apps/knowledge_base/wordpress/wp-admin/includes
 /plugin-install.php on line 158
 Warning: An unexpected error occurred. Something may be wrong with
 WordPress.org or this server’s configuration. If you continue to have
 problems, please try the support forums. (WordPress could not establish a
 secure connection to WordPress.org. Please contact your server
 administrator.) in /apps/knowledge_base/wordpress/wp-admin/includes
 /plugin-install.php on line 158
 Error: An unexpected error occurred. Something may be wrong with
 WordPress.org or this server’s configuration. If you continue to have
 problems, please try the support forums. Try again
 }}}

 This one is because of some connectivity issue. May be related to latest
 fixes: #37494

 http_proxy sys env works fine, as I can access wordpress plugins zip files
 manually with curl or wget.

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37735#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list