John Dow
John Dow

Reputation: 11

Wordpress themes and plugins not work

I have created a Wordpress site, it's very ok on Localhost but has problems when runs on live host.

After uploading Wordpress site's folder and database, everything was ok.

But the problems happened in the first time accessing "wp-admin", in the plugins page there were some lines “The plugin ........... has been deactivated due to an error: The plugin does not have a valid header.” In "appearance/themes", the information of themes was just " by anonymous". Then all plugins didn't work anymore :(

I've tried to upload a new fresh Wordpress and database, but the problems still happened.

Sorry for my bad English and thanks for any help!

Upvotes: 1

Views: 314

Answers (1)

Gordon Smith
Gordon Smith

Reputation: 124

Make sure you have

<?php wp_head(); ?>
</head>

in your header.php file inside the active theme folder and

<?php wp_footer(); ?>
</body>

in your footer.php file inside the active theme folder.

Not having those would stop the plugins from running correctly.

Upvotes: 0

Related Questions