Title: Errors after activation
Last modified: August 20, 2016

---

# Errors after activation

 *  Resolved [RaMatheron](https://wordpress.org/support/users/ramatheron/)
 * (@ramatheron)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/errors-after-activation/)
 * Hi. Your plugin seems like a good one to have, but I get the following two errors
   right after activating the plugin:
 * > Parse error: syntax error, unexpected T_STRING in /home/deb6634/domains/thirteenchapters.
   > net/public_html/wp-content/plugins/rating-widget/rating-widget.php(657) : runtime-
   > created function on line 1
 * > Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   > no array or string given in /home/deb6634/domains/thirteenchapters.net/public_html/
   > wp-includes/plugin.php on line 403
 * Is it something on my end, or do I have to wait for a fix?
 * If you need any additional information, please ask.
 * Thanks!
    RaMa
 * [http://wordpress.org/extend/plugins/rating-widget/](http://wordpress.org/extend/plugins/rating-widget/)

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

 *  [edipdincer](https://wordpress.org/support/users/edipdincer/)
 * (@edipdincer)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/errors-after-activation/#post-3200795)
 * Same here..
    Looking for solution..
 *  [Carlotta.](https://wordpress.org/support/users/carlotta-1/)
 * (@carlotta-1)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/errors-after-activation/#post-3200800)
 * Same problem…
 *  Plugin Author [Vova Feldman](https://wordpress.org/support/users/svovaf/)
 * (@svovaf)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/errors-after-activation/#post-3200809)
 * We started to investigate the issue,I’ll get back to you once it’s resolved. 
   Appreciate the patience.
 *  Plugin Author [Vova Feldman](https://wordpress.org/support/users/svovaf/)
 * (@svovaf)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/errors-after-activation/#post-3200811)
 * 1. Please try to replace line 657 on rating-widget.php file with:
    `add_action('
   admin_notices', create_function( '', 'echo "<div class="error"><p>" . sprintf("
   Rating-Widget is not activated yet. You need to <a class="button" href="%s">activate
   the account</a> to start seeing the ratings.", "edit.php?page=' . WP_RW__ADMIN_MENU_SLUG.'")."
   </p></div>";' ) );`
 * 2. The 2nd warning has nothing to do with the Rating-Widget.
 * Please let me know if that resolved the Parse error.
 * Thanks!
 *  [hndisc](https://wordpress.org/support/users/hndisc/)
 * (@hndisc)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/errors-after-activation/#post-3200813)
 * Not resolved yet…
    How’s following code
 * `add_action( 'admin_notices', create_function( '', 'echo "<div class=\"error\"
   ><p>" . sprintf( "Rating-Widget is not activated yet. You need to <a class=\"
   button\" href=\"%s\">activate the account</a> to start seeing the ratings.", "
   edit.php?page=' . WP_RW__ADMIN_MENU_SLUG . '" ) . "</p></div>";' ) );`
 *  Plugin Author [Vova Feldman](https://wordpress.org/support/users/svovaf/)
 * (@svovaf)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/errors-after-activation/#post-3200814)
 * Sorry for that, replace the same line with the following:
 * `add_action('admin_notices', create_function('', 'echo "<div class="error"><p
   >Rating-Widget is not activated yet. You need to <a class="button" href="edit.
   php?page=' . WP_RW__ADMIN_MENU_SLUG . '">activate the account</a> to start seeing
   the ratings.</p></div>";'));`
 *  Plugin Author [Vova Feldman](https://wordpress.org/support/users/svovaf/)
 * (@svovaf)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/errors-after-activation/#post-3200816)
 * Just fixed the bug. Please download the latest version (1.6.0):
 * [http://downloads.wordpress.org/plugin/rating-widget.zip](http://downloads.wordpress.org/plugin/rating-widget.zip)
 *  Thread Starter [RaMatheron](https://wordpress.org/support/users/ramatheron/)
 * (@ramatheron)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/errors-after-activation/#post-3200817)
 * Thanks! It works 🙂

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

The topic ‘Errors after activation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rating-widget_4db0e0.svg)
 * [Rating-Widget: Star Review System](https://wordpress.org/plugins/rating-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rating-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rating-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/rating-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rating-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rating-widget/reviews/)

 * 8 replies
 * 5 participants
 * Last reply from: [RaMatheron](https://wordpress.org/support/users/ramatheron/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/errors-after-activation/#post-3200817)
 * Status: resolved