Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught Error: Call to a member function add_cap() on null #7

Open
2 tasks done
atanuiwd opened this issue Sep 27, 2023 · 0 comments
Open
2 tasks done

Comments

@atanuiwd
Copy link

atanuiwd commented Sep 27, 2023

Description

Showing a fatal error in backend only as -
Fatal error: Uncaught Error: Call to a member function add_cap() on null in /home/purepropertymana/public_html/wp-content/plugins/intelligence/includes/class-intel.php:453 Stack trace: #0 /home/purepropertymana/public_html/wp-includes/class-wp-hook.php(310): Intel->setup_role_caps('') #1 /home/purepropertymana/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #2 /home/purepropertymana/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/purepropertymana/public_html/wp-admin/admin.php(175): do_action('admin_init') #4 /home/purepropertymana/public_html/wp-admin/index.php(10): require_once('/home/pureprope...') #5 {main} thrown in /home/purepropertymana/public_html/wp-content/plugins/intelligence/includes/class-intel.php on line 453

Screenshot

image

Steps to Reproduce

Any logged in page.

Expected Results

Actual Results

Fatal error: Uncaught Error: Call to a member function add_cap() on null in /home/purepropertymana/public_html/wp-content/plugins/intelligence/includes/class-intel.php:453 Stack trace: #0 /home/purepropertymana/public_html/wp-includes/class-wp-hook.php(310): Intel->setup_role_caps('') #1 /home/purepropertymana/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #2 /home/purepropertymana/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/purepropertymana/public_html/wp-admin/admin.php(175): do_action('admin_init') #4 /home/purepropertymana/public_html/wp-admin/index.php(10): require_once('/home/pureprope...') #5 {main} thrown in /home/purepropertymana/public_html/wp-content/plugins/intelligence/includes/class-intel.php on line 453

Browsers Affected

  • Chrome
  • Firefox

Versions

PHP: 7.4
WordPress 6.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant