• Hello ,

    I was viewing the debug file to find errors , i found error at :

    wp-includes/class-wp-roles.php on line 292

    which was this line :

    	$this->role_objects[ $role ] = new WP_Role( $role, $this->roles[ $role ]['capabilities'] );

    Is it a normal error or there is something need to fix ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator threadi

    (@threadi)

    I suspect the line you found is just a continuation error. Check what is executed before. Probably it is a plugin which calls the function incorrectly. Therefore, look in the error log of your hosting exactly what it says there or activate the debugging in WordPress for closer examination:

    Debugging in WordPress

    Thread Starter alshizawi

    (@alshizawi)

    Hi @threadi

    Well yes , it is a continuous error ..

    what i found before the error starts , a line contains :

    wpdb::prepare 
    and
    in /home/***/public_html/ev/wp-includes/functions.php on line 5865

    And there was nothing new in error log

    • This reply was modified 3 years, 1 month ago by alshizawi.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘class-wp-roles.php error’ is closed to new replies.