• Resolved vermit

    (@vermit)


    When I turn off “edit theme options” under WordPress Core Capabilities for a user role, it works but allows the below warning:

    Warning: Invalid argument supplied for foreach() in /home/customer/www/x.com/public_html/wp-content/plugins/wordpress-starter/core/Pages/Themes.php on line 191

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/x.com/public_html/wp-content/plugins/wordpress-starter/core/Pages/Themes.php:191) in /home/customer/www/x.com/public_html/wp-includes/functions.php on line 6821

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Steve Burge

    (@stevejburge)

    Hi @vermit

    Thank for using PublishPress Capabilities.

    Does this happen if you change to use another theme?

    Thread Starter vermit

    (@vermit)

    Strange but I deactivated and re-activated the plugin and it seems fine now.

    I have another question Regarding this “Note: Capability changes remain in the database after plugin deactivation.”
    Does this mean if I deactivate the plugin things wont go back to the way it was before I made capability changes with this plugin?

    Plugin Author Steve Burge

    (@stevejburge)

    Correct, but we have a backup and restore system: https://publishpress.com/knowledge-base/backup-restore-permissions/

    Thread Starter vermit

    (@vermit)

    Okay thanks, so if I have 20 Available Backups I will have to restore each one at a time to get back to my starting point?

    Thread Starter vermit

    (@vermit)

    Okay thanks, so if I have 20 Available Backups I will have to restore each one at a time to get back to my starting point?

    Can you please reply to this. Thanks

    Plugin Author Kevin Behrens

    (@kevinb)

    @vermit No, they are separate complete backups taken at different times. You can choose which one is the snapshot you need.

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

The topic ‘Error when I turn off “edit theme options”’ is closed to new replies.