Support » Plugin: Rating-Widget: Star Review System » Errors after activation

  • Resolved RaMatheron

    (@ramatheron)


    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/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same here..
    Looking for solution..

    Same problem…

    Plugin Author Vova Feldman

    (@svovaf)

    We started to investigate the issue,I’ll get back to you once it’s resolved. Appreciate the patience.

    Plugin Author Vova Feldman

    (@svovaf)

    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!

    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

    (@svovaf)

    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

    (@svovaf)

    Just fixed the bug. Please download the latest version (1.6.0):

    http://downloads.wordpress.org/plugin/rating-widget.zip

    Thanks! It works 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Errors after activation’ is closed to new replies.