• After upgrading WP to 2.0 on my blog https://blog.franto.com i got lot of this warning

    Warning: array_filter(): The second argument, ‘Array’, should be a valid callback in /hosting/franto.kormanak/franto.com/blog2/wp-includes/capabilities.php on line 152

    Warning: Invalid argument supplied for foreach() in /hosting/franto.kormanak/franto.com/blog2/wp-includes/capabilities.php on line 156

    this is many different situations, it was in post, in main page, in admin in WP-AMAZON search form

    but still directs to same code:
    $this->roles = array_filter(array_keys($this->caps), array(&$wp_roles, ‘is_role’));

    so it seems, it is something with Roles, which is new WP2.0 feature. Does anyone have same problem or know solution for me?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Do you mean WP-Amazon, or CG-Amazon? If CG-Amazon, there are warnings being thrown with the last released version, and if you search the forums there’s a suggested ‘temporary fix’ to eliminate the warning messages until a new release comes out…

    -d

    Thread Starter franto

    (@franto)

    Hey David, it seems, this solved bug, i got both, just didnt use CG-Amazon, but was activated, but warning was in WP-Amazon…

    now when I disable CG-Amazon, it seems all is working

    I’m having the same problem and after searching the forums I cannot find the temporary fix for CG-Amazon and was wondering if some kind person could point me in the right direction. Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Capabilites.php warning in WP2.0’ is closed to new replies.