WordPress.org

Ready to get started?Download WordPress

Forums

Rating-Widget: Star Rating System
[resolved] Errors after activation (9 posts)

  1. RaMatheron
    Member
    Posted 1 year ago #

    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/

  2. edipdincer
    Member
    Posted 1 year ago #

    Same here..
    Looking for solution..

  3. Carlotta.
    Member
    Posted 1 year ago #

    Same problem...

  4. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

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

  5. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  6. hndisc
    Member
    Posted 1 year ago #

    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>";' ) );

  7. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    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>";'));

  8. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

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

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

  9. RaMatheron
    Member
    Posted 1 year ago #

    Thanks! It works :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.