Support » Fixing WordPress » Bug or new feature in themes.php?

  • djmceltic


    Fresh install. I have many many installs in my corporate setting. We are behind a proxy server out to internet.

    With previous versions we were never able to use the search for themes or plug-ins. It would time out. No big deal. Open a browser, go to, and save them and upload whenever.

    However in 3.7.1 if I click on appearance and then themes… It times out. I get the following error message:

    “PHP Warning: An unexpected error occurred. Something may be wrong with or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to Please contact your server administrator.) in C:\inetpub\wwwroot\ticket\wp-admin\includes\theme.php on line 298″

    What is going on? Is there a new need for themes.php to authenticate with What am I to do?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator kmessinger


    Please contact your server administrator.

    This is a server configuration error.

    As for the previous problem.

    If the problem is happening when you search plugins or themes its probably because your connected to a proxy and you need to configure it on your wp-config.php

    /** EXAMPLE – proxy settings */
    define(‘WP_PROXY_HOST’, ‘’);
    define(‘WP_PROXY_PORT’, ‘1234’);
    define(‘WP_PROXY_USERNAME’, ”);
    define(‘WP_PROXY_PASSWORD’, ”);
    define(‘WP_PROXY_BYPASS_HOSTS’, ‘localhost’);



    Hi kmessinger

    I have 3.4 through 3.7 installed on the same server with full access rights to every installation. 3.7 is the only one giving me this problem. I am the server admin so please tell me what I need to do if there is a server error. To me this seems like a bug. I shouldn’t have to connect to to change themes. I work on my laptop in planes and remote locations and this would be a big big change.



    I too am facing same issue on migrating to WP 3.7 version.
    It throws unexpected error message as /home/viivesbw/public_html/blogs/wp-admin/includes/theme.php on line 298

    and a few more other lines on theme.php file itself.



    Please start your own topic:

    How-To and Troubleshooting

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bug or new feature in themes.php?’ is closed to new replies.