• Today I discovered suddenly that the grant/deny table does not show up anymore while adding or editing a role in the dashboard. Every capability that I click result to just a blank box instead of a table with grand/deny columns.

    I’m running on Apache on Windows and logged in my WordPress website as an user with administrator privileges.
    I tried to deactivate/active the plugin and to re-install the plugin but both did not solve the issue. I also deactivated other newly installed plugins temporarily but couldn’t find a cause.

    The strange thing I noticed is that this part in the output HTML stays empty whilst on correctly working installs it gets filled:
    <div class="members-tab-wrap"></div>

    What could be the possible cause of this issue and how can I troubleshoot this as a beginner in WordPress?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jeroen Maathuis

    (@joennuh)

    I found out that the above mentioned div-element should get filled by Javascript.
    After looking around with the DOM Inspector of Firefox an error in the developper console got my attention:

    
    Uncaught Error: Syntax error, unrecognized expression: https://domainname.tld/wp-admin/admin.php?page=wc-settings&tab=advanced
        jQuery 10
        <anonymous> https://domainname.tld/wp-content/plugins/cbxchangelog/assets/js/cbxchangelog-setting.js?ver=1.0.7:31
        jQuery 4
    load-scripts.php:2:12681
        jQuery 10
        <anoniem> https://domainname.tld/wp-content/plugins/cbxchangelog/assets/js/cbxchangelog-setting.js?ver=1.0.7:31
        jQuery 4
    

    Which is caused somewhere in /wp-admin/load-scripts.php. The error refers to the CBX Changelog plugin. Deactivating that plugin solves the issue. Activating CBX Changelog again re-introduces the issue again. Strangely that plugin isn’t causing any issues on another website and it didn’t cause any issues before at the involved website.

    Plugin Author Caseproof

    (@caseproof)

    Hi @joennuh

    I installed this plugin on my local installation and wasn’t able to duplicate this issue. Have you tried to contact the plugin author to troubleshoot this issue?

    Cheers

    Thread Starter Jeroen Maathuis

    (@joennuh)

    Eventually I discovered more dashboard pages were affected (like the menu editor) and as above error shows the source seemed to be at the CBX Changelog plugin. I have contacted the developer of the CBX Changelog plugin and he also wasn’t able to reproduce it.

    I digged some further in the issues and found out that other PC’s and browsers at my house didn’t have the issue too.
    I ended up in clearng all cookies and website data for the affected WordPress websites and that did the trick! It is now working normal again. ??

    Plugin Author Caseproof

    (@caseproof)

    I’m glad to hear that it’s working.

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Grant/deny table does not show up on add/edit role’ is closed to new replies.