Replies: 5
Hi,
We have a similar issue to a ticket that was raised very recently. Since updating the plugin to v3.1.4 it breaks our site. We have reverted back to v3.1.3 for now.
Our site is essentially a Brand Hub that has multiple user roles available. We have; Administrator, Brand Hub Admin, Brand Hub Editor, Hub User, Pending Hub User and Brand Hub User Restricted.
Here is the error we’re seeing:
An error of type E_ERROR was caused in line 942 of the file /nas/content/live/brandabsprod/wp-content/plugins/intuitive-custom-post-order/intuitive-custom-post-order.php. Error message: Uncaught Error: Call to a member function add_cap() on null in /nas/content/live/brandabsprod/wp-content/plugins/intuitive-custom-post-order/intuitive-custom-post-order.php:942
Stack trace:
0 /nas/content/live/brandabsprod/wp-includes/class-wp-hook.php(308): Hicpo->hicpo_add_capabilities(”)
1 /nas/content/live/brandabsprod/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
2 /nas/content/live/brandabsprod/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
3 /nas/content/live/brandabsprod/wp-admin/admin.php(175): do_action(‘admin_init’)
4 /nas/content/live/brandabsprod/wp-admin/index.php(10): require_once(‘/nas/content/li…’)
5 {main}
thrown
The user roles are baked into website we have developed, we haven’t created them using a plugin. Is this is a bug that needs fixing in your next release?