Same here. Fatal error, site down. When deactivating Gwolle, no issues at all.
Can you tell me what the error is?
Une erreur de type E_ERROR a été causée dans la ligne 24 du fichier /home/…./www/wp-content/plugins/gwolle-gb/functions/gb-capabilities.php. Message d’erreur : Uncaught Error: Call to a member function add_cap() on null in /home/…./www/wp-content/plugins/gwolle-gb/functions/gb-capabilities.php:24
Stack trace:
#0 /home/…./www/wp-includes/class-wp-hook.php(308): gwolle_gb_custom_capabilities(”)
#1 /home/…./www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/…./www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/…./www/wp-settings.php(617): do_action(‘init’)
#4 /home/…./www/wp-config.php(82): require_once(‘/home/…’)
#5 /home/…/www/wp-load.php(50): require_once(‘/home/…’)
#6 /home/…/www/wp-admin/admin.php(34): require_once(‘/home/…’)
#7 /home/…/www/wp-admin/update-core.php(10): require_once(‘/home/…’)
#8 {main}
thrown
Aha, that one is not funny.
There is a 4.4.1 version out that should fix this error.
I am just wondering what happened to these roles. The code is like this:
$role = get_role( 'administrator' );
and that role should exist. Did you remove it in some way? And is this plugin the only one that breaks for you?
Ah, I see now it is about the role editor
.
It works, thanks a lot 🙂
Kind regards
Can you tell me what happened to those roles?
That way I can understanbd the situation more and can help other people if needed.
It would be a shame if you only cared about yourself.
Sorry, I don’t understand what you wait for… My english is not perfect !
Hi i do have the same error but i do not understand how to fix it?
I just got: Uncaught Error: Call to a member function add_cap() on null on my website.
Deactivating the plugin and all worked fine.
So how, what and where exactly i can fix?
best regards
Jan
Hi Jan,
You can update on Dashboard > Updates to version 4.4.1
Regards, Marcel