WordPress.org

Ready to get started?Download WordPress

Forums

User Role Editor
[resolved] i can't delete my announcements under the new permission mask (2 posts)

  1. babyoth
    Member
    Posted 1 year ago #

    I have done this

    http://wordpress.org/support/topic/plugin-user-role-editor-new-capabilites-for-subheading?replies=2#post-3206438

    It all appeared to work perfectly until i tried to delete an announcement and i got this error message

    "Fatal error: Cannot redeclare horizontal_scrolling_announcement() (previously declared in C:\Users\Jenny\xampp\htdocs\Wordpress\wp-content\plugins\horizontal-scrolling-announcement\horizontal-scrolling-announcement.php:20) in C:\Users\Jenny\xampp\htdocs\Wordpress\wp-content\plugins\horizontal-scrolling-announcement\horizontal-scrolling-announcement.php on line 58"

    is this because of something we did in the link above? because it worked fine before i moved it from the tools menu to the upload's menu

    http://wordpress.org/extend/plugins/user-role-editor/

  2. Vladimir Garagulya
    Member
    Plugin Author

    Posted 1 year ago #

    'Delete' operation is called from JavaScript file which should be updated accordingly too.
    Go through horizontal-scrolling-announcement.js file and try to replace 'options-general.php' there to 'upload.php'.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.