Title: PLugin won&#8217;t activate
Last modified: January 23, 2026

---

# PLugin won’t activate

 *  Resolved [mattgivertz](https://wordpress.org/support/users/mattgivertz/)
 * (@mattgivertz)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/plugin-wont-activate-41/)
 * Hi
 * I’ve been having some issues with posts and to troubleshoot i removed the plugin
   which seemed to resolve the issue but to verify this plugin is the problem I 
   re-installed and made sure to activate at the site level. The message says the
   plugin is activated but it doesn’t show as active and it’s not in the dashboard.
 * I went to myphpadmin to check the table we created OK as we had an issue with
   this previously and it is there but no records have been added.
 * I’ve remarked out the create table and indexes sections from activation php file
   and still not working so the only lines left are
    add_option(‘postratings_image’,‘
   stars’ ); add_option(‘postratings_max’, ‘5’ ); add_option(‘postratings_template_vote’,‘%
   RATINGS_IMAGES_VOTE% (**%RATINGS_USERS%** ‘.__(‘votes’, ‘wp-postratings’).__(‘,’,‘
   wp-postratings’).’ ‘.__(‘average’, ‘wp-postratings’).’: **%RATINGS_AVERAGE%**‘.
   __(‘out of’, ‘wp-postratings’).’ %RATINGS_MAX%)<br />%RATINGS_TEXT%’ ); add_option(‘
   postratings_template_text’, ‘%RATINGS_IMAGES% (_**%RATINGS\_USERS%** ‘.\_\_(‘
   votes’, ‘wp-postratings’).\_\_(‘,’, ‘wp-postratings’).’ ‘.\_\_(‘average’, ‘wp-
   postratings’).’: **%RATINGS\_AVERAGE%** ‘.\_\_(‘out of’, ‘wp-postratings’).’ %
   RATINGS\_MAX%’.\_\_(‘,’, ‘wp-postratings’).’ **‘.\_\_(‘rated’, ‘wp-postratings’).’**_)’);
   add_option(‘postratings_template_none’, ‘%RATINGS_IMAGES_VOTE% (‘.__(‘No Ratings
   Yet’, ‘wp-postratings’).’)<br />%RATINGS_TEXT%’ ); // Database Upgrade For WP-
   PostRatings 1.02 add_option(‘postratings_logging_method’, ‘3’ ); add_option(‘
   postratings_allowtorate’, ‘2’ ); // Database Uprade For WP-PostRatings 1.04 //
   maybe_add_column($wpdb->ratings, ‘rating_userid’, “ALTER TABLE $wpdb->ratings
   ADD rating_userid INT( 10 ) NOT NULL DEFAULT ‘0’;”); // Database Uprade For WP-
   PostRatings 1.05 add_option(‘postratings_ratingstext’, array(__(‘1 Star’, ‘wp-
   postratings’), __(‘2 Stars’, ‘wp-postratings’), __(‘3 Stars’, ‘wp-postratings’),
   __(‘4 Stars’, ‘wp-postratings’), __(‘5 Stars’, ‘wp-postratings’)) ); add_option(‘
   postratings_template_highestrated’, ‘
    - [%POST_TITLE%](https://wordpress.org/support/topic/plugin-wont-activate-41/%POST_URL%?output_format=md)%
      RATINGS_IMAGES% (%RATINGS_AVERAGE% ‘.__(‘out of’, ‘wp-postratings’).’ %RATINGS_MAX%)
    - ‘ );
       // Database Upgrade For WP-PostRatings 1.11 add_option(‘postratings_ajax_style’,
      array(‘loading’ => 1, ‘fading’ => 1) ); // Database Upgrade For WP-PostRatings
      1.20 add_option(‘postratings_ratingsvalue’, array(1,2,3,4,5) ); add_option(‘
      postratings_customrating’, 0 ); add_option(‘postratings_template_permission’,‘%
      RATINGS_IMAGES% (_**%RATINGS\_USERS%** ‘.\_\_(‘votes’, ‘wp-postratings’).\_\_(‘,’,‘
      wp-postratings’).’ ‘.\_\_(‘average’, ‘wp-postratings’).’: **%RATINGS\_AVERAGE%**‘.\_\_(‘
      out of’, ‘wp-postratings’).’ %RATINGS\_MAX%_)<br />_‘.\_\_(‘You need to be
      a registered member to rate this.’, ‘wp-postratings’).’_‘ ); // Database Upgrade
      For WP-PostRatings 1.30 add_option(‘postratings_template_mostrated’, ‘
    - [%POST_TITLE%](https://wordpress.org/support/topic/plugin-wont-activate-41/%POST_URL%?output_format=md)–%
      RATINGS_USERS% ‘.__(‘votes’, ‘wp-postratings’).’
    - ‘ );
    - There are no entries in the database.
    - Please can you let me have the sql to create these entries as I suspect this
      maybe the issue and I can then run manually on myphp
    - Thanks
       Matt
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-wont-activate-41%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/plugin-wont-activate-41/#post-12963032)
 * The table is created when you activate it per site? But there are no entries 
   when you rate? What entries are you referring to?
 *  Thread Starter [mattgivertz](https://wordpress.org/support/users/mattgivertz/)
 * (@mattgivertz)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/plugin-wont-activate-41/#post-12968066)
 * Sorry for the delay in getting back to you
 * So the plugins has been installed and I’m trying to activate at the site level.
   The response is plugins activated but it doesn’t appear in the dashboard.
 * I thought the options statements would create table entries but maybe not.
 * I’ve uninstalled and reinstalled but plugin refuses to activate and appear in
   the dashboard. I am not activating at the network level as previous issue was
   because I did.
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/plugin-wont-activate-41/#post-12968641)
 * Is the plugin in the individual site plugin folder? If it fails to activate, 
   it should throw an error though.
 *  Thread Starter [mattgivertz](https://wordpress.org/support/users/mattgivertz/)
 * (@mattgivertz)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/plugin-wont-activate-41/#post-12969840)
 * Yes it is. I’ve checked error logs but the only thing I see is a php notice saying
   the plugin activated
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/plugin-wont-activate-41/#post-12969870)
 * Weird I am not sure what’s wrong with it. I have no been using MS for years and
   the MS code was not touched for years. I will probably wait for more data for
   other people.
 * Maybe consider using another plugin?
 *  Thread Starter [mattgivertz](https://wordpress.org/support/users/mattgivertz/)
 * (@mattgivertz)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/plugin-wont-activate-41/#post-12971944)
 * This has been bizzare but managed to get it to install. I have no idea what was
   going on but I removed it because blog postd were only being displayed to logged
   in users.
 * I had to remove the plugin to resolve the issue and wanted to reinstate it to
   verify the issue.
 * I have got everything working and am wondering if it was a setting somewhere.
   Anyway I’ve made sure that the shortcode is only on the page I want rated
 * Thanks for the help
    Matt

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PLugin won’t activate’ is closed to new replies.

 * ![](https://ps.w.org/wp-postratings/assets/icon.svg?rev=978014)
 * [WP-PostRatings](https://wordpress.org/plugins/wp-postratings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-postratings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-postratings/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-postratings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-postratings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-postratings/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [mattgivertz](https://wordpress.org/support/users/mattgivertz/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/plugin-wont-activate-41/#post-12971944)
 * Status: resolved