Plug-in not activating

Hi,
I am trying to install a redirect plug-in (redirection) and when I click activate I get a message it activates but when I go down to it is still isn’t activated. Could this be a caching issue?

Thanks for your help.

Hey Hanah,

This usually is a result of non-standard server and/or WordPress configuration. If you’re installing a bundled plugin from Pro, would you mind giving us WP Admin and FTP access in a Secure Note so we could check if there’s a generated error and also enable debugging in your site?

If you’re installing a third party plugin, you will need to contact your web host.

Thanks.

Sure. I will get those credentials and send them over. Thanks!

Hi @hanjamfitness,

I temporarily deactivated the cache and still the same, and it has no error either. Perhaps you could contact your hosting provider and see if they are blocking some plugin? It could be due to database cache too since the plugin active status is stored there.

Thanks!

Yeah I noticed it is all plug-ins, I tried to deactivate the mailchimp for woocommerce because that isn’t working properly so I wanted to delete and reinstall and that won’t either.

Do you think it could be due to me modifying the functions file with this code:
/* Remove archives */
function meks_remove_wp_archives(){
//If we are on category or tag or date or author archive
if( is_category() || is_tag() || is_date() || is_author() ) {
global $wp_query;
$wp_query->set_404(); //set to 404 not found page
}
}

or modifying the wp-cron.php file with this:

define(‘DISABLE_CRON’, true);

Those are the only 2 changes I’ve since I noticed this problem.

Hello There,

I would recommend that you temporarily remove the codes one at a time and test your site again. You will know that it is the cause if the plugin is installed and active. If none of it is causing it, then an error or something is going on. You might need to enable the debug mode to find out if there are any errors. You can do this by opening wp-config.php and adding
define( 'WP_DEBUG' , true ); just above /* That's all, stop editing! Happy blogging. */
For example:

define('WP_DEBUG', true);

/* That's all, stop editing! Happy blogging. */

When you revisit the plugin page and activate the plugin, you should have some error output describing the issue in more detail if ever there are php errors that is going on.

Please let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.