Download GDPR Compliance WordPress Plugin in just $9 today.

This is the output from PHP
Fatal error: Uncaught Error: Call to a member function add_cap() on null in /var/www/html/wp-content/plugins/woocommerce-delivery-area-pro/core/class.plugin.php:642 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(298): FC_Plugin_Base->create_menu(”) #1 /var/www/html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /var/www/html/wp-admin/includes/menu.php(149): do_action(‘admin_menu’, ”) #4 /var/www/html/wp-admin/menu.php(283): require_once(‘/var/www/html/w…’) #5 /var/www/html/wp-admin/admin.php(138): require(‘/var/www/html/w…’) #6 /var/www/html/wp-admin/plugins.php(10): require_once(‘/var/www/html/w…’) #7 {main} thrown in /var/www/html/wp-content/plugins/woocommerce-delivery-area-pro/core/class.plugin.php on line 642

The line seems to be from the block
if ( current_user_can( ‘manage_options’ ) ) {
$role = get_role( ‘administrator’ );
$role->add_cap( $this->pluginPrefix.’_admin_overview’ );
It is multisite,
Admin page of sub sites are viewable and can perform multiple actions, but the main admins page cannot be accessed.

You do not have permission to view answers

Please login or Register to Submit Answer