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

  1. babyoth
    Posted 3 years ago #

    I have done this


    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


  2. Vladimir Garagulya
    Plugin Author

    Posted 3 years 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

  • User Role Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.