I’m trying to install DW Question Answer on WP 3.8.1 on my WPEngine Staging server but I’m getting this error:
Fatal error: Call to a member function add_cap() on a non-object in /nas/wp/www/staging/*my-site-account-name*/wp-content/plugins/dw-question-answer/inc/roles.php on line 192
I disabled all plugins and still got the error. Any suggestions about what else I can try?
Please add these lines of code below line number 189:
if( ! $role )
It will fix your problem, and we will add this fix on next version so you can install the update version normally.
Please login or Register to submit your answer