I don’t see this problem caused by WTI Like Post plugin as the error you have put is not plugin specific. Your server is running out of memory while trying to activate the plugin. May be your site has become huge with lot of data.
Try increasing the memory limit inside wp-config.php file and see whether you still get the error or not. Another approach will be set up the same system on your local and try repeating the same thing and see whether you are still having the problem or not.
Thanks
Thank you! Changing the memory limit by putting
php_value memory_limit 200M
to the .htaccess file did the trick.
Sorry for supposing it was caused by your plugin!
Hi
I had this plugin installed previously then uninstalled. I re-installed but I get the following error when attempting to activate…
Fatal error: Cannot redeclare class MostLikedPosts in /home/content/37/11200237/html/dbi/wp-content/plugins/wti-like-post/wti_like_post_widgets.php on line 81
and if I try and unistall completely I get…
Fatal error: Cannot redeclare class MostLikedPosts in /home/content/37/11200237/html/dbi/wp-content/plugins/wti-like-post/wti_like_post_widgets.php on line 81
I assume you are checking with 1.4.1 version now. There may be 2 reasons here.
1. Earlier the plugin was not uninstalled cleanly.
2. You are using some other plugin which has a class as MostLikedPosts
Please approach as below in above cases.
1. Try removing the plugin files from ftp. This will automatically disable the plugin and you can uninstall the plugin now. Download a fresh copy from wordpress and try installing that.
2. In this case try modifying the wti_like_post_widgets.php file as below.
– Line 80, change class MostLikedPosts to class WtiMostLikedPosts
– Line 82, change function MostLikedPosts() to function WtiMostLikedPosts()
– Line 148, change new MostLikedPosts() to new WtiMostLikedPosts()
Do let me know if this helped you in fixing your issue or not.
Thanks
Thanks,that worked! I deleted through FTP and made the class and function name changes and was able to re-install.