Undefined offset: 0 in capabilities.php when submitting a post
-
I am having a problem on one of my sites. When I try to submit a post (new or editing) I get the following notice, the post is submitted and I see the new content.
Notice: Undefined offset: 0 in /home/u09xstr/public_html/wptemp/wp-includes/capabilities.php on line 1116
Warning: Cannot modify header information – headers already sent by (output started at /home/u09xstr/public_html/wptemp/wp-includes/capabilities.php:1116) in /home/u09xstr/public_html/wptemp/wp-admin/post.php on line 233
Warning: Cannot modify header information – headers already sent by (output started at /home/u09xstr/public_html/wptemp/wp-includes/capabilities.php:1116) in /home/u09xstr/public_html/wptemp/wp-includes/pluggable.php on line 1179
I have tried updating to wordpress 4.0.1, I have upgraded all of my plugings and also tried deactivating all plugings and I still see this notice. I am using a child theme of the Hemingway theme. I see the notice when either the child theme of the parent them is active. To make things more confusing I have tried the Hemingway theme on another of my sites and I don’t see the problem at all.
I have tried searching for answers with no success. Can anyone make any suggestiongs of how I can fix this? Or explain what I can do to try and diagnose the problem.
Thanks in advance
The topic ‘Undefined offset: 0 in capabilities.php when submitting a post’ is closed to new replies.