• Hi,

    Am using WAMP on my laptop and installed the wordpress.org site and working on development of a site. I installed one freely available theme over the vanilla installed wordpress site but it failed with below error. Can anyone help me here. On the cited lines in the file update.php, there is nothing except “);” on all the cited lines in three errors:

    Unpacking the package…
    
    Installing the theme…
    
    The package could not be installed. The style.css stylesheet doesn’t contain a valid theme header.
    
    Theme installation failed.
    
    ( ! ) 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 <a href="https://wordpress.org/support/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in D:\wamp\www\jobspace\wordpress\wp-includes\update.php on line 156
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0012	204560	{main}( )	...\update.php:0
    2	5.5751	20840432	Theme_Upgrader->install( )	...\update.php:266
    3	5.5757	20850640	WP_Upgrader->run( )	...\class-theme-upgrader.php:214
    4	6.0026	20984376	do_action( )	...\class-wp-upgrader.php:793
    5	6.0027	20984808	WP_Hook->do_action( )	...\plugin.php:453
    6	6.0027	20984856	WP_Hook->apply_filters( )	...\class-wp-hook.php:310
    7	6.0193	20984656	call_user_func_array:{D:\wamp\www\jobspace\wordpress\wp-includes\class-wp-hook.php:284} ( )	...\class-wp-hook.php:284
    8	6.0193	20985032	wp_version_check( )	...\class-wp-hook.php:284
    9	7.2266	21002840	trigger_error ( )	...\update.php:156
    
    ( ! ) 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 <a href="https://wordpress.org/support/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in D:\wamp\www\jobspace\wordpress\wp-includes\update.php on line 348
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0012	204560	{main}( )	...\update.php:0
    2	5.5751	20840432	Theme_Upgrader->install( )	...\update.php:266
    3	5.5757	20850640	WP_Upgrader->run( )	...\class-theme-upgrader.php:214
    4	6.0026	20984376	do_action( )	...\class-wp-upgrader.php:793
    5	6.0027	20984808	WP_Hook->do_action( )	...\plugin.php:453
    6	6.0027	20984856	WP_Hook->apply_filters( )	...\class-wp-hook.php:310
    7	8.5031	21004528	call_user_func_array:{D:\wamp\www\jobspace\wordpress\wp-includes\class-wp-hook.php:284} ( )	...\class-wp-hook.php:284
    8	8.5031	21004544	wp_update_plugins( )	...\class-wp-hook.php:284
    9	9.7295	21016016	trigger_error ( )	...\update.php:348
    
    ( ! ) 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 <a href="https://wordpress.org/support/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in D:\wamp\www\jobspace\wordpress\wp-includes\update.php on line 530
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0012	204560	{main}( )	...\update.php:0
    2	5.5751	20840432	Theme_Upgrader->install( )	...\update.php:266
    3	5.5757	20850640	WP_Upgrader->run( )	...\class-theme-upgrader.php:214
    4	6.0026	20984376	do_action( )	...\class-wp-upgrader.php:793
    5	6.0027	20984808	WP_Hook->do_action( )	...\plugin.php:453
    6	6.0027	20984856	WP_Hook->apply_filters( )	...\class-wp-hook.php:310
    7	10.9838	21017392	call_user_func_array:{D:\wamp\www\jobspace\wordpress\wp-includes\class-wp-hook.php:284} ( )	...\class-wp-hook.php:284
    8	10.9839	21017408	wp_update_themes( )	...\class-wp-hook.php:284
    9	12.2296	21034832	trigger_error ( )	...\update.php:530

    Regards,
    Knack

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Theme installation failed’ is closed to new replies.