Patch 119-01: Notice: Undefined offset: 0 in wp-includes/capabilities.php line 1106
1 Attachment(s)
If you have upgraded to WordPress 3.8, you may see the following message mixed in with post comments
HTML Code:
Notice: Undefined offset: 0 in /wp-includes/capabilities.php on line 1106 This error can be fixed by editing 'template_tags.php' (it's in montezuma/includes) and change line 50 from HTML Code:
if( current_user_can( 'edit_post' ) ) HTML Code:
if( current_user_can( 'edit_post', get_the_ID() ) ) HTML Code:
if( current_user_can( 'edit_post' ) ) HTML Code:
if( current_user_can( 'edit_post', get_the_ID() ) ) This fix will be in the next release of Montezuma. |
All times are GMT -6. The time now is 11:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.